Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duplocloud/duplo-jit
Command-line tools for JIT AWS access
https://github.com/duplocloud/duplo-jit
Last synced: 2 months ago
JSON representation
Command-line tools for JIT AWS access
- Host: GitHub
- URL: https://github.com/duplocloud/duplo-jit
- Owner: duplocloud
- License: other
- Created: 2022-01-03T23:58:58.000Z (about 3 years ago)
- Default Branch: develop
- Last Pushed: 2024-11-08T22:06:26.000Z (2 months ago)
- Last Synced: 2024-11-08T23:18:36.416Z (2 months ago)
- Language: Go
- Size: 249 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# duplo-jit
Command-line tools for JIT Duplo, AWS and Kubernetes access## Installation
### From release zip files
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.### With Homebrew
run `brew install duplocloud/tap/duplo-jit` from your terminal
## Usage
### duplo-jit aws
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
```## Command help
### duplo-jit aws --help
```
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
```### duplo-jit duplo --help
```
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
```### duplo-jit k8s --help
```
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
```## Deprecated: duplo-aws-credential-process --help
```
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
```