File tree Expand file tree Collapse file tree 3 files changed +7
-22
lines changed Expand file tree Collapse file tree 3 files changed +7
-22
lines changed Original file line number Diff line number Diff line change 1
1
Services
2
2
---
3
3
4
+ Deprecations
5
+ ---
6
+ * ` service/s3/s3crypto ` : Deprecates the crypto client from the SDK ([ #394 ] ( https://github.com/aws/aws-sdk-go-v2/pull/394 ) )
7
+ * s3crypto client is now deprecated and may be removed from the future versions of the SDK.
8
+
4
9
SDK Features
5
10
---
6
11
Original file line number Diff line number Diff line change 84
84
// See the s3manager package's GetBucketRegion function documentation for more information
85
85
// https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#GetBucketRegion
86
86
//
87
- // S3 Crypto Client
88
- //
89
- // The s3crypto package provides the tools to upload and download encrypted
90
- // content from S3. The Encryption and Decryption clients can be used concurrently
91
- // once the client is created.
92
- //
93
- // cfg, err := external.LoadDefaultAWSConfig()
94
- //
95
- // // Create the decryption client.
96
- // svc := s3crypto.NewDecryptionClient(cfg)
97
- //
98
- // // The object will be downloaded from S3 and decrypted locally. By metadata
99
- // // about the object's encryption will instruct the decryption client how
100
- // // decrypt the content of the object. By default KMS is used for keys.
101
- // result, err := svc.GetObject(&s3.GetObjectInput {
102
- // Bucket: aws.String(myBucket),
103
- // Key: aws.String(myKey),
104
- // })
105
- //
106
- // See the s3crypto package documentation for more information.
107
- // https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3crypto/
108
- //
109
87
package s3
Original file line number Diff line number Diff line change 1
1
/*
2
+ Package s3crypto is deprecated and may be removed from the future versions of the SDK.
3
+
2
4
Package s3crypto provides encryption to S3 using KMS and AES GCM.
3
5
4
6
Keyproviders are interfaces that handle masterkeys. Masterkeys are used to encrypt and decrypt the randomly
You can’t perform that action at this time.
0 commit comments