Skip to content

About

Python bindings for the docker credentials store API

Resources

Stars

7 stars

Watchers

1 watching

Forks

Repository files navigation

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

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages