diff --git a/ecr-login/go.mod b/ecr-login/go.mod index 816836cb..d5adaa54 100644 --- a/ecr-login/go.mod +++ b/ecr-login/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.30.5 github.com/aws/aws-sdk-go-v2/config v1.27.33 github.com/aws/aws-sdk-go-v2/credentials v1.17.32 - github.com/aws/aws-sdk-go-v2/service/ecr v1.32.4 + github.com/aws/aws-sdk-go-v2/service/ecr v1.33.0 github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.25.6 github.com/aws/smithy-go v1.20.4 github.com/docker/docker-credential-helpers v0.8.2 diff --git a/ecr-login/go.sum b/ecr-login/go.sum index cc9ed1da..8b936a4e 100644 --- a/ecr-login/go.sum +++ b/ecr-login/go.sum @@ -12,8 +12,8 @@ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.17 h1:Mqr/V5gvrhA2gvgnF4 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.17/go.mod h1:aLJpZlCmjE+V+KtN1q1uyZkfnUWpQGpbsn89XPKyzfU= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 h1:VaRN3TlFdd6KxX1x3ILT5ynH6HvKgqdiXoTxAF4HQcQ= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1/go.mod h1:FbtygfRFze9usAadmnGJNc8KsP346kEe+y2/oyhGAGc= -github.com/aws/aws-sdk-go-v2/service/ecr v1.32.4 h1:nQAU2Yr+afkAvIV39mg7LrNYFNQP7ShwbmiJqx2fUKA= -github.com/aws/aws-sdk-go-v2/service/ecr v1.32.4/go.mod h1:keOS9j4fv5ASh7dV29lIpGw2QgoJwGFAyMU0uPvfax4= +github.com/aws/aws-sdk-go-v2/service/ecr v1.33.0 h1:/xDTA98i4mebwufX9B39eoQmKq4ffRgCnNbsTvkwaj4= +github.com/aws/aws-sdk-go-v2/service/ecr v1.33.0/go.mod h1:keOS9j4fv5ASh7dV29lIpGw2QgoJwGFAyMU0uPvfax4= github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.25.6 h1:D9C5XIIciGM6mRZTi7zDdFsBsPsgzbsPwwN0wLCymnc= github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.25.6/go.mod h1:Mrlicf7xXyuelm+q8XVMblDxJq2pKpKGXiWx/3uqjqs= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.4 h1:KypMCbLPPHEmf9DgMGw51jMj77VfGPAN2Kv4cfhlfgI= diff --git a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/CHANGELOG.md b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/CHANGELOG.md index adad357d..cc68098e 100644 --- a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/CHANGELOG.md +++ b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.33.0 (2024-09-11) + +* **Feature**: Added KMS_DSSE to EncryptionType + # v1.32.4 (2024-09-04) * No change notes available for this release. diff --git a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/api_client.go b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/api_client.go index b66e9215..01684d41 100644 --- a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/api_client.go +++ b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/api_client.go @@ -30,8 +30,8 @@ import ( const ServiceID = "ECR" const ServiceAPIVersion = "2015-09-21" -// Client provides the API client to make operations call for Amazon EC2 Container -// Registry. +// Client provides the API client to make operations call for Amazon Elastic +// Container Registry. type Client struct { options Options diff --git a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/doc.go b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/doc.go index 6ea924b0..7223cce0 100644 --- a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/doc.go +++ b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/doc.go @@ -1,7 +1,7 @@ // Code generated by smithy-go-codegen DO NOT EDIT. // Package ecr provides the API client, operations, and parameter types for Amazon -// EC2 Container Registry. +// Elastic Container Registry. // // # Amazon Elastic Container Registry // diff --git a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/go_module_metadata.go b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/go_module_metadata.go index 8345f105..35957874 100644 --- a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/go_module_metadata.go +++ b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/go_module_metadata.go @@ -3,4 +3,4 @@ package ecr // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.4" +const goModuleVersion = "1.33.0" diff --git a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/types/enums.go b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/types/enums.go index d771c309..52470b4e 100644 --- a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/types/enums.go +++ b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/types/enums.go @@ -6,8 +6,9 @@ type EncryptionType string // Enum values for EncryptionType const ( - EncryptionTypeAes256 EncryptionType = "AES256" - EncryptionTypeKms EncryptionType = "KMS" + EncryptionTypeAes256 EncryptionType = "AES256" + EncryptionTypeKms EncryptionType = "KMS" + EncryptionTypeKmsDsse EncryptionType = "KMS_DSSE" ) // Values returns all known values for EncryptionType. Note that this can be @@ -18,6 +19,7 @@ func (EncryptionType) Values() []EncryptionType { return []EncryptionType{ "AES256", "KMS", + "KMS_DSSE", } } diff --git a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/types/types.go b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/types/types.go index 7d0ba40b..5910d66b 100644 --- a/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/types/types.go +++ b/ecr-login/vendor/github.com/aws/aws-sdk-go-v2/service/ecr/types/types.go @@ -156,8 +156,13 @@ type EncryptionConfiguration struct { // encrypted using server-side encryption with Key Management Service key stored in // KMS. When you use KMS to encrypt your data, you can either use the default // Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, - // which you already created. For more information, see [Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS)]in the Amazon Simple - // Storage Service Console Developer Guide. + // which you already created. + // + // If you use the KMS_DSSE encryption type, the contents of the repository will be + // encrypted with two layers of encryption using server-side encryption with the + // KMS Management Service key stored in KMS. Similar to the KMS encryption type, + // you can either use the default Amazon Web Services managed KMS key for Amazon + // ECR, or specify your own KMS key, which you've already created. // // If you use the AES256 encryption type, Amazon ECR uses server-side encryption // with Amazon S3-managed encryption keys which encrypts the images in the @@ -165,7 +170,6 @@ type EncryptionConfiguration struct { // the Amazon Simple Storage Service Console Developer Guide. // // [Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3)]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html - // [Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS)]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html // // This member is required. EncryptionType EncryptionType diff --git a/ecr-login/vendor/modules.txt b/ecr-login/vendor/modules.txt index 9fe686b6..42baf583 100644 --- a/ecr-login/vendor/modules.txt +++ b/ecr-login/vendor/modules.txt @@ -50,7 +50,7 @@ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 # github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 ## explicit; go 1.21 github.com/aws/aws-sdk-go-v2/internal/ini -# github.com/aws/aws-sdk-go-v2/service/ecr v1.32.4 +# github.com/aws/aws-sdk-go-v2/service/ecr v1.33.0 ## explicit; go 1.21 github.com/aws/aws-sdk-go-v2/service/ecr github.com/aws/aws-sdk-go-v2/service/ecr/internal/endpoints