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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址