REVOKE SERVICE ROLE
statementpartialAccess control (grants, roles)Revokes a service role from an account role, application role, or database role. For more information, see Managing service-related privileges. Snowpark Container Services is available to accounts in AWS, Microsoft Azure, and Google Cloud Platform commercial regions, with some exceptions. For more information, see Available regions and considerations.
Syntax
supportedpartialnot supportednot scored
REVOKE SERVICE ROLE <name> FROM
{
ROLE <role_name> |
APPLICATION ROLE <application_role_name> |
DATABASE ROLE <database_role_name>
}
Parameters
| Name | Required | Description |
|---|---|---|
name | Specifies the identifier for the service role to revoke. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. Specify the service role name in the following format:service-name!service-role-name For example, echo_service!echoendpoint_role. | |
ROLE role_name | Name of the account role to revoke the service role from. | |
APPLICATION ROLE application_role | Name of the application role to revoke the service role from. | |
DATABASE ROLE database_name | Name of the database role to revoke the service role from. |
Access control requirements
A role used to execute this operation must have the following privileges at a minimum: Privilege or role | Object | Notes OWNERSHIP | Service | Only the service owner can revoke the service role.
Known gaps
- FROM, ROLE, APPLICATION ROLE, DATABASE ROLE are not exercised by any test