azureEncrypter
Variable: azureEncrypter
constazureEncrypter:object
Defined in: azure/src/services/keyvault.service.ts:73
Authenticated envelope encryption: only the random AES key leaves this process.
Type Declaration
configure()
configure(
options):void
Configure the encryption pass before application services are created.
Parameters
options
AzureEncryptionOptions
Azure credential and key settings for this configuration pass
Returns
void
decrypt()
decrypt(
data,params?):Promise<string>
Decrypt and authenticate an Azure envelope.
Parameters
data
string
Model data or encrypted envelope
params?
AzureServiceParameters = configuredEncryption
Raw configuration parameters
Returns
Promise<string>
The decrypt result
encrypt()
encrypt(
data,options?):Promise<string>
Encrypt a configuration value with a wrapped AES key.
Parameters
data
string
Model data or encrypted envelope
options?
string | AzureEncryptionOptions = configuredEncryption
Encryption or packaging options
Returns
Promise<string>
The encrypt result