sqs-encrypted-extended-client
Extends sqs-extended-client adding per queue KMS encryption for S3 objects
Installation
pip install sqs-encrypted-extended-client
Overview
sqs-encrypted-extended-client allows for Server-Side KMS encryption of S3 objects created by sqs-extended-client on a global or per-queue basis.
Usage
All usage for sqs-extended-client, with the additional following use-cases.
Enabling default KMS key encryption for all queues or for unmatched queues
import boto3
import sqs_extended_client
sqs = boto3.client('sqs')
sqs.large_payload_support = 'my-bucket-name'
sqs.default_kms_key_id = 'alias/my-key'
Arguments:
- large_payload_support -- the S3 bucket name that will store large messages.
- default_kms_key_id -- the KMS Key Id to use when there are no matching queues. Can be a key alias (recommended), key id, or key arn.
Enabling support for a particular queue
import boto3
import sqs_extended_client
sqs = boto3.client('sqs')
sqs.large_payload_support = 'my-bucket-name'
sqs.add_kms_key_id('https://my-queue-url', 'alias/my-key')
Enabling support for a number of queues at once
import boto3
import sqs_extended_client
sqs = boto3.client('sqs')
sqs.large_payload_support = 'my-bucket-name'
sqs.kms_key_ids = {
'https://my-queue-1-url': 'alias/my-key-1',
'https://my-queue-2-url': 'alias/my-key-2',
...
}
Metadata
Release files for sqs-encrypted-extended-client 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sqs-encrypted-extended-client-0.0.2.tar.gz | 2.9 kB | Without provenance | Details for sqs-encrypted-extended-client-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sqs_encrypted_extended_client-0.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for sqs_encrypted_extended_client-0.0.2-py2.py3-none-any.whl |
Total release size: 10.6 kB
Release files / sqs-encrypted-extended-client-0.0.2.tar.gz
| Download URL | sqs-encrypted-extended-client-0.0.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4fd95ef296c7e9dc566bdeb1ac61d04a9acf9583fa90d444ce3142998f5932d
|
|
BLAKE2b-256 checksum How to use checksums |
532053189e4cf8d0ff5b5fad16484a92d55bbe91fc3f00da2d1fb29fb8c639c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.7.7
|
Release files / sqs_encrypted_extended_client-0.0.2-py2.py3-none-any.whl
| Download URL | sqs_encrypted_extended_client-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d4359404892db02a524a3106fc12f1f433367fba5d22c0460dee4a15bfabfb0c
|
|
BLAKE2b-256 checksum How to use checksums |
52c1962b7aa5d9c953abbb7dc120a29afb128242de8ebf657a0f207f4d203348
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.7.7
|
Security for sqs-encrypted-extended-client 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.