- Categories:
System functions (System Information)
SYSTEM$GET_ SECURITY_ INTEGRATIONS_ FOR_ API_ PROVIDER¶
For a specified API provider, lists the external secret provider security integrations visible to the current role.
Syntax¶
Arguments¶
api_providerProvider value. Specify one of these case-insensitive values:
AWS_SECRETS_MANAGERAZURE_KEY_VAULTGCP_SECRET_MANAGER
Returns¶
Returns a JSON array of matching integration names. The result includes the integrations with
TYPE = API_AUTHENTICATION and AUTH_TYPE = WORKLOAD_IDENTITY_FEDERATION that use the specified provider and are
visible to the current role.
Access control requirements¶
A role used to execute this operation must have the following privileges at a minimum:
| Privilege | Object | Notes |
|---|---|---|
| USAGE | Integration | The result includes integrations on which the current role has this privilege, including through role inheritance. |
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¶
- The provider value is case-insensitive.
- An empty or unsupported provider value produces an error.
- An empty JSON array means that no matching integration is visible to the current role.
Examples¶
List visible AWS Secrets Manager integrations: