Skip to main content
revoke_permission_credential(name=None, permission=None, credential_name=None, options=)[source]

[DEPRECATED–please use GPUdb.revoke_permission() instead] Revokes a credential-level permission from a user or role.

Parameters

name (str) –

Name of the user or role from which the permission will be revoked. Must be an existing user or role.

permission (str) –

Permission to revoke from the user or role. Allowed values are:

  • credential_admin – Full read/write and administrative access on the credential.

  • credential_read – Ability to read and use the credential.

credential_name (str) –

Name of the credential on which the permission will be revoked. Must be an existing credential, or an empty string to revoke access on all credentials.

options (dict of str to str) –

Optional parameters. The default value is an empty dict ( ).

Returns

A dict with the following entries–

name (str) –

Value of input parameter name.

permission (str) –

Value of input parameter permission.

credential_name (str) –

Value of input parameter credential_name.

info (dict of str to str) –

Additional information.