credentiald

command module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

README

credentiald

credentiald manages credentials for cloud environments.

Development

To run against a local Minikube:

$ kubectl create namespace giantswarm
$ ./credentiald daemon \
    --service.kubernetes.incluster=false \
    --service.kubernetes.address=https://$(minikube ip):8443 \
    --service.kubernetes.tls.cafile=${HOME}/.minikube/ca.crt \
    --service.kubernetes.tls.crtfile=${HOME}/.minikube/client.crt \
    --service.kubernetes.tls.keyfile=${HOME}/.minikube/client.key

And to create a credential:

curl -Ss -i \
    http://localhost:8000/v4/organizations/acme/credentials/ \
    -d '{
            "provider": "aws",
            "aws": {
                "roles": {
                    "admin": "this-is-a-fake-admin-arn",
                    "awsoperator": "this-is-a-fake-awsoperator-arn"
                }
            }
        }'

Retrieve credentials for an org:

curl -s -i http://localhost:8000/v4/organizations/acme/credentials/

Retrieve a specific credential (adapt y13tl7 to an existing ID!)

curl -s -i http://localhost:8000/v4/organizations/giantswarm/credentials/y13tl7/

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
endpoint/lister
Package lister provides the endpoint to retrieve multiple credentials
Package lister provides the endpoint to retrieve multiple credentials
endpoint/searcher
Package searcher provides the endpoint to retrieve one credential.
Package searcher provides the endpoint to retrieve one credential.
collector
Package collector offers a service to retrieve metrics about credentials.
Package collector offers a service to retrieve metrics about credentials.
creator
Package creator offers a service to fetch a list of credentials.
Package creator offers a service to fetch a list of credentials.
lister
Package lister offers a service to retrieve credentials for an organization.
Package lister offers a service to retrieve credentials for an organization.
searcher
Package searcher provides functionality to retrieve a single credential.
Package searcher provides functionality to retrieve a single credential.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL