changeKey

Undocumented in source. Be warned that the author may not have intended to support it.
@SILdoc(`Change encryption key on the specified dataset. Params: string fsName: the name of the dataset. EncryptionCommand cryptCommand: the encryption "command" to be executed, currently supported values are "new_key", "inherit", "force_new_key" and "force_inherit" string[string] properties: a dictionary of encryption-related property name-value pairs; only "keyformat", "keylocation" and "pbkdf2iters" are supported (empty by default). string[] encryptionKey: dataset encryption key data (empty by default). Errors: PropertyInvalid: if props contains invalid values. FilesystemNotFound: if the dataset does not exist. UnknownCryptCommand: if cryptCommand is invalid. EncryptionKeyNotLoaded: if the encryption key is not currently loaded and therefore cannot be changed. `)
changeKey
(
string fsName
,,,
string[string] properties = (string[string]).init
)

Meta