ECR / Client / delete_signing_configuration
delete_signing_configuration¶
- ECR.Client.delete_signing_configuration()¶
Deletes the registry’s signing configuration. Images pushed after deletion of the signing configuration will no longer be automatically signed.
For more information, see Managed signing in the Amazon Elastic Container Registry User Guide.
Note
Deleting the signing configuration does not affect existing image signatures.
See also: AWS API Documentation
Request Syntax
response = client.delete_signing_configuration()
- Return type:
dict
- Returns:
Response Syntax
{ 'registryId': 'string', 'signingConfiguration': { 'rules': [ { 'signingProfileArn': 'string', 'repositoryFilters': [ { 'filter': 'string', 'filterType': 'WILDCARD_MATCH' }, ] }, ] } }
Response Structure
(dict) –
registryId (string) –
The Amazon Web Services account ID associated with the registry.
signingConfiguration (dict) –
The registry’s deleted signing configuration.
rules (list) –
A list of signing rules. Each rule defines a signing profile and optional repository filters that determine which images are automatically signed. Maximum of 10 rules.
(dict) –
A signing rule that specifies a signing profile and optional repository filters. When an image is pushed to a matching repository, a signing job is created using the specified profile.
signingProfileArn (string) –
The ARN of the Amazon Web Services Signer signing profile to use for signing images that match this rule. For more information about signing profiles, see Signing profiles in the Amazon Web Services Signer Developer Guide.
repositoryFilters (list) –
A list of repository filters that determine which repositories have their images signed on push. If no filters are specified, all images pushed to the registry are signed using the rule’s signing profile. Maximum of 100 filters per rule.
(dict) –
A repository filter used to determine which repositories have their images automatically signed on push. Each filter consists of a filter type and filter value.
filter (string) –
The filter value used to match repository names. When using
WILDCARD_MATCH, the*character matches any sequence of characters.Examples:
myapp/*- Matches all repositories starting withmyapp/*/production- Matches all repositories ending with/production*prod*- Matches all repositories containingprod
filterType (string) –
The type of filter to apply. Currently, only
WILDCARD_MATCHis supported, which uses wildcard patterns to match repository names.
Exceptions
ECR.Client.exceptions.ServerExceptionECR.Client.exceptions.ValidationExceptionECR.Client.exceptions.SigningConfigurationNotFoundException