Secret interface

Holds device secret either as a KeyVault reference or as an encrypted value.

Properties

encryptedSecret

Encrypted (using device public key) secret value.

keyVaultId

Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740).

Property Details

encryptedSecret

Encrypted (using device public key) secret value.

encryptedSecret?: AsymmetricEncryptedSecret

Property Value

keyVaultId

Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740).

keyVaultId?: string

Property Value

string