Skip to contents

Deletes the secret stored in this secret scope. You must have WRITE or MANAGE permission on the secret scope.

Usage

delete_secret(client, scope, key)

secretsDeleteSecret(client, scope, key)

Arguments

client

Required. Instance of DatabricksClient()

scope

Required. The name of the scope that contains the secret to delete.

key

Required. Name of the secret to delete.

Details

Throws RESOURCE_DOES_NOT_EXIST if no such secret scope or secret exists. Throws PERMISSION_DENIED if the user does not have permission to make this API call.