> ## 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

[Permissions](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-permissions-credential) on
[credentials](https://docs.kinetica.com/content/sql/ddl/create-credential.md#sql-create-credential)
that have been [granted](https://docs.kinetica.com/content/sql/security/grant-credential-permission.md#sql-security-priv-mgmt-cred-grant)
directly to
[users](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-users) or
[roles](https://docs.kinetica.com/content/security/sec_concepts.md#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.