46d59b48b5
Updated all GitHub URLs from cpfarhood to privilegedescalation organization: - Repository URLs in package.json and Artifact Hub metadata - Documentation links and references - Git remote updated No functional changes - this is purely an organizational migration. Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1.3 KiB
1.3 KiB
Headlamp Sealed Secrets API v0.2.0
Headlamp Sealed Secrets API / lib/crypto / encryptKeyValues
Function: encryptKeyValues()
encryptKeyValues(
publicKey,keyValues,namespace,name,scope):Result<Record<string,Base64String>,string>
Defined in: src/lib/crypto.ts:126
Encrypt multiple key-value pairs for a SealedSecret
Parameters
publicKey
PublicKey
RSA public key from the controller's certificate
keyValues
object[]
Array of {key, value} pairs to encrypt (values are branded plaintext)
namespace
string
The namespace
name
string
The secret name
scope
The encryption scope
Returns
Result<Record<string, Base64String>, string>
Result containing object mapping keys to encrypted values, or error message