Docker Credentials helper to AWS SecretsManager
About
This helper is suitable for storing Docker registry credentials for distributed Docker installations across AWS EC2 clouds. It stores all necessary information in JSON in single secret managed by AWS SecretsManager service.
Requirements
The only required software is boto3
Installation
Install package using pip
pip install docker-credential-aws-sm
Setup
There are 3 steps required before you can use the helper in the cloud
To register helper for current user edit $HOME/.docker.config.json and place configuration required configuration:
{
"credStore": "aws-sm"
}
For automatic repository discovery configuration should also contain "HttpHeaders" key:
{
"credStore": "aws-sm",
"HttpHeaders": {
"User-Agent": "Docker-Client/18.09.1 (linux)"
}
}
Export necessary environmental variables. DOCKER_SECRETSMANAGER_NAME is mandatory, AWS_ variables should be set according to needs:
# (required) DOCKER_SECRETSMANAGER_NAME points the secret name under which the tool stores credentials
export DOCKER_SECRETSMANAGER_NAME='my_docker_sercret'
# (optional)
export AWS_...
Create IAM user or role according to your need.
Metadata
Release files for docker-credential-aws-sm 0.1
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 |
|---|---|---|---|---|
| docker-credential-aws-sm-0.1.tar.gz | 3.2 kB | Without provenance | Details for docker-credential-aws-sm-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| docker_credential_aws_sm-0.1-py2-none-any.whl | Python 2 | none | any | Details for docker_credential_aws_sm-0.1-py2-none-any.whl |
Total release size: 8.0 kB
Release files / docker-credential-aws-sm-0.1.tar.gz
| Download URL | docker-credential-aws-sm-0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ab1a35e9bd3a0bb5c21b4ddf7271e82d72c87424e83148a4b608c58f618f970
|
|
BLAKE2b-256 checksum How to use checksums |
6c41fe1aced5f8c18a56f5699decb6703d70861d611eb7ceae2aa1b6edd6dbaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/2.7.15
|
Release files / docker_credential_aws_sm-0.1-py2-none-any.whl
| Download URL | docker_credential_aws_sm-0.1-py2-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
03408840360a42487bf8406b703fd4c314440f4da8792c3b86406108e3145c4d
|
|
BLAKE2b-256 checksum How to use checksums |
747a2e09cd0b3fcb513fe1c218f41aaa2337801b3495807a0dc0c5682f9df393
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/2.7.15
|
Security for docker-credential-aws-sm 0.1
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.