CredentialBrokerControl / Client / delete_credential_provider
delete_credential_provider¶
- CredentialBrokerControl.Client.delete_credential_provider(**kwargs)¶
Accepts an asynchronous request to delete a CredentialProvider of any provider type.
The operation is idempotent. Poll
GetCredentialProvideruntil it returns a resource-not-found error to observe that deletion has finished.Required permissions: in addition to permission for this operation, the service performs
secretsmanager:DeleteSecreton your behalf, but only when the provider’s credential is held in a secret the service created. A provider that references a secret you own leaves that secret untouched.See also: AWS API Documentation
Request Syntax
response = client.delete_credential_provider( credentialProviderPoolIdentifier='string', credentialProviderIdentifier='string' )
- Parameters:
credentialProviderPoolIdentifier (string) –
[REQUIRED]
Identifies a credential provider pool. Accepts either the pool’s ARN or its service-generated ID; both refer to the same pool.
credentialProviderIdentifier (string) –
[REQUIRED]
Identifies a credential provider. Accepts either the provider’s ARN or its service-generated ID; both refer to the same provider.
- Return type:
dict
- Returns:
Response Syntax
{ 'credentialProviderArn': 'string', 'credentialProviderId': 'string', 'credentialProviderPoolId': 'string', 'providerType': 'OAUTH'|'API_KEY', 'status': 'CREATING'|'UPDATING'|'DELETING'|'READY'|'FAILED' }
Response Structure
(dict) –
credentialProviderArn (string) –
Amazon Resource Name of a credential provider. Service-generated and stable for the life of the provider. The ARN embeds the parent pool, so it identifies the provider on its own without a separate pool identifier. Use it in IAM policies and anywhere an operation accepts a credential provider identifier.
credentialProviderId (string) –
Service-generated identifier of a credential provider. Opaque and stable for the life of the provider, and unique within its parent pool. Accepted anywhere an operation takes a provider identifier, in place of the provider’s ARN.
credentialProviderPoolId (string) –
Service-generated identifier of a credential provider pool. Opaque and stable for the life of the pool. Accepted anywhere an operation takes a pool identifier, in place of the pool’s ARN.
providerType (string) –
The kind of credential a provider obtains and the configuration it requires. Fixed when the provider is created and cannot be changed by a later update. New values may be added over time.
status (string) –
The provider transitions to DELETING while asynchronous cleanup completes.
Exceptions
CredentialBrokerControl.Client.exceptions.ThrottlingExceptionCredentialBrokerControl.Client.exceptions.ResourceNotFoundExceptionCredentialBrokerControl.Client.exceptions.InternalServerExceptionCredentialBrokerControl.Client.exceptions.AccessDeniedExceptionCredentialBrokerControl.Client.exceptions.ValidationException