BackupSecret Method
Backs up a secret.
Syntax
public fun backupSecret(secretName: String?)
Remarks
This method backs up the secret specified by SecretName, returning it in a protected form via the output stream specified via the SetOutputStream method, the specified LocalFile, or the SecretData property.
Note that the protected secret cannot be used outside of Azure Key Vault, it must be restored to another vault using the RestoreSecret method in order to be used.