Get a secret.
get_secret.Rd
Gets the bytes representation of a secret value for the specified scope and key.
Arguments
- client
Required. Instance of DatabricksClient()
- scope
Required. The name of the scope to fetch secret information from.
- key
Required. The key to fetch secret for.
Details
Users need the READ permission to make this call.
Note that the secret value returned is in bytes. The interpretation of the bytes is determined by the caller in DBUtils and the type the data is decoded into.
Throws PERMISSION_DENIED
if the user does not have permission to make
this API call. Throws RESOURCE_DOES_NOT_EXIST
if no such secret or secret
scope exists.