Command-line tools for JIT Duplo, AWS and Kubernetes access
See the Releases section of this repository.
- Download a release artifact that matches your system's architecture.
- Unzip the artifact.
- Install the binaries somewhere in your
PATH
, such as the/usr/local/bin
directory.
run brew install duplocloud/tap/duplo-jit
from your terminal
This tool is intended to be used in your ~/.aws/config
. It provides just-in-time access to AWS using short-lived, temporary access keys.
Example ~/.aws/config
for admin access to Duplo:
[profile myduplo-admin]
region=us-west-2
credential_process=duplo-jit aws --admin --host https://MY-DUPLO-HOSTNAME.duplocloud.net --interactive
Example ~/.aws/config
for tenant-level access to Duplo:
[profile myduplo-tenant]
region=us-west-2
credential_process=duplo-jit aws --tenant MY-TENANT-NAME --host https://MY-DUPLO-HOSTNAME.duplocloud.net --interactive
Usage of duplo-jit:
-admin
Get admin credentials
-debug
Turn on verbose (debugging) output
-duplo-ops
Get Duplo operations credentials
-host string
Duplo API base URL
-interactive
Allow getting Duplo credentials via an interactive browser session
-port
Allow choosing a port for the interactive browser session. Default is random
-no-cache
Disable caching (not recommended)
-tenant string
Get credentials for the given tenant
-token string
Duplo API token
-version
Output version information and exit
Usage of duplo-jit:
-debug
Turn on verbose (debugging) output
-host string
Duplo API base URL
-interactive
Allow getting Duplo credentials via an interactive browser session
-port
Allow choosing a port for the interactive browser session. Default is random
-no-cache
Disable caching (not recommended)
-token string
Duplo API token
-version
Output version information and exit
Usage of duplo-jit:
-debug
Turn on verbose (debugging) output
-host string
Duplo API base URL
-interactive
Allow getting Duplo credentials via an interactive browser session
-no-cache
Disable caching (not recommended)
-plan string
Get credentials for the given plan
-tenant string
Get credentials for the given tenant
-token string
Duplo API token
-version
Output version information and exit
Usage of duplo-aws-credential-process:
-admin
Get admin credentials
-debug
Turn on verbose (debugging) output
-duplo-ops
Get Duplo operations credentials
-host string
Duplo API base URL
-interactive
Allow getting Duplo credentials via an interactive browser session
-no-cache
Disable caching (not recommended)
-tenant string
Get credentials for the given tenant
-token string
Duplo API token
-version
Output version information and exit