Disable Google Service Account

To disable Google service account access to Google Cloud Platform (GCP) resources, use DBMS_CLOUD_ADMIN.DISABLE_PRINCIPAL_AUTH.

When the provider value is GCP and the username is a user other than the ADMIN user, the procedure revokes the privileges from the specified user. In this case, the ADMIN user and other users can continue to use GCP$PA.

For example, to revoke privileges for adb_user:

BEGIN
    DBMS_CLOUD_ADMIN.DISABLE_PRINCIPAL_AUTH(
        provider => 'GCP',
        username => 'adb_user');
END;
/

When the provider value is GCP and the username is ADMIN, the procedure disables Google service account access on the Autonomous Database instance. The default value for username is ADMIN.

For example:

BEGIN
    DBMS_CLOUD_ADMIN.DISABLE_PRINCIPAL_AUTH(
        provider => 'GCP' );
END;
/

See DISABLE_PRINCIPAL_AUTH Procedure for more information.