Skip to content

shin-/dockerpy-creds

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

docker-pycreds

CircleCI

Python bindings for the docker credentials store API

Credentials store info

Docker documentation page

Requirements

On top of the dependencies in requirements.txt, the docker-credential executable for the platform must be installed on the user's system.

API usage

import dockerpycreds

store = dockerpycreds.Store('secretservice')
store.store(
    server='https://index.docker.io/v1/', username='johndoe',
    secret='hunter2'
)

print(store.list())

print(store.get('https://index.docker.io/v1/'))


store.erase('https://index.docker.io/v1/')

About

Python bindings for the docker credentials store API

Resources

License

Stars

Watchers

Forks

Packages

No packages published