CREDENTIAL_PRIVILEGES
Applies to: Databricks Runtime 15.4 and above
INFORMATION_SCHEMA.CREDENTIAL_PRIVILEGES lists principals that have privileges on a credential.
This is an extension to the SQL Standard Information Schema.
Definition
The CREDENTIAL_PRIVILEGES
relation contains the following columns:
Name |
Data type |
Nullable |
Description |
|
---|---|---|---|---|
|
|
No |
Principal that granted the privilege. |
|
|
|
No |
Principal to which the privilege is granted. |
|
|
|
No |
Credential on which the privilege is granted. |
|
|
|
No |
Privilege being granted. |
|
|
|
No |
Always |
|
|
|
Yes |
No |
The ancestor relation that the privilege is inherited from. |
Constraints
The following constraints apply to the CREDENTIAL_PRIVILEGES
relation:
Class |
Name |
Column List |
Description |
---|---|---|---|
Primary key |
|
|
Unique identifier for the granted privilege. |
Foreign key |
|
|
References CREDENTIALS |