Skip to main content
Removes an existing credential.
DROP CREDENTIAL Syntax
All data sources, data sinks, and ML container registries that depend on a given credential must be dropped before it can be dropped.
Only users with system_admin or system_user_admin, or users with credential_admin on the credential to drop, may drop a credential.

Parameters

<schema name>

Name of the schema containing the credential to drop

<credential name>

Name of the existing credential to remove; use * instead of schema/credential name to drop all credentials

Examples

To drop a credential, auser_azure_active_dir_creds:
DROP CREDENTIAL Example