> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# REVOKE Credential Permission

<a id="sql-security-priv-mgmt-cred-revoke" />

[Permissions](/content/security/sec_concepts#security-concepts-permissions-credential) on
[credentials](/content/sql/ddl/create-credential#sql-create-credential)
that have been [granted](/content/sql/security/grant-credential-permission#sql-security-priv-mgmt-cred-grant)
directly to
[users](/content/security/sec_concepts#security-concepts-users) or
[roles](/content/security/sec_concepts#security-concepts-roles) can be revoked.

```sql title="REVOKE Credential Permission Syntax" theme={null}
REVOKE <READ | ADMIN> [PRIVILEGES]
ON <ALL CREDENTIALS [IN [SCHEMA] <schema reference>] | CREDENTIAL <credential reference>>
FROM <user name | role name>
```

```sql title="REVOKE Create Credential Permission Syntax" theme={null}
REVOKE CREATE [PRIVILEGES] ON CREDENTIALS
[IN [SCHEMA] <schema reference>]
FROM <user name | role name>
```

## Examples

To revoke read access on the *credential* named
**auser\_azure\_active\_dir\_creds** from the **auser** *user*:

```sql REVOKE Credential Use Permission Example theme={null}
REVOKE READ ON CREDENTIAL auser_azure_active_dir_creds FROM auser
```

To revoke administrative access on the *credential* from the **auser** *user*:

```sql REVOKE Credential Administrative Permission Example theme={null}
REVOKE ADMIN ON CREDENTIAL auser_azure_active_dir_creds FROM auser
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.