ALTER SECURITY INTEGRATION (External secret provider)¶
Modifies an API authentication security integration used to access AWS Secrets Manager, Azure Key Vault, or Google Cloud Secret Manager.
For other external API authentication methods, see ALTER SECURITY INTEGRATION (External API Authentication).
- See also:
ALTER SECURITY INTEGRATION (External API Authentication) , CREATE SECURITY INTEGRATION (External secret provider) , SYSTEM$VERIFY_EXTERNAL_SECRET_INTEGRATION , SYSTEM$LIST_EXTERNAL_SECRETS , SYSTEM$FETCH_EXTERNAL_SECRET_FROM_INTEGRATION , SYSTEM$GET_SECURITY_INTEGRATIONS_FOR_API_PROVIDER , DESCRIBE INTEGRATION
Syntax¶
AWS Secrets Manager¶
Azure Key Vault¶
Google Cloud Secret Manager¶
Parameters¶
nameSpecifies the identifier of the integration to modify.
SET ...Sets one or more properties for the existing provider type. For parameter descriptions, see CREATE SECURITY INTEGRATION (External secret provider).
You can’t set
API_PROVIDER. Create another integration to use a different provider.
Access control requirements¶
A role used to execute this operation must have the following privileges at a minimum:
| Privilege | Object | Notes |
|---|---|---|
| OWNERSHIP | Integration | OWNERSHIP is a special privilege on an object that is automatically granted to the role that created the object, but can also be transferred using the GRANT OWNERSHIP command to a different role by the owning role (or any role with the MANAGE GRANTS privilege). |
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
Usage notes¶
-
Regarding metadata:
Attention
Customers should ensure that no personal data (other than for a User object), sensitive data, export-controlled data, or other regulated data is entered as metadata when using the Snowflake service. For more information, see Metadata fields in Snowflake.
-
Altering provider settings preserves
WORKLOAD_IDENTITY_FEDERATION_ISSUERandWORKLOAD_IDENTITY_FEDERATION_SUBJECT. -
If you change an identity resource or an audience-determining setting, update the cloud trust configuration to match. For AWS, changing
AWS_REGIONcan change the audience. -
Use
ENABLED = FALSEto prevent the integration from being used while you update its cloud configuration.
Examples¶
Change the AWS role without changing the integration’s Snowflake identity:
Disable an integration while updating its cloud trust configuration: