1
1
# duplo-jit
2
+
2
3
Command-line tools for JIT Duplo, AWS and Kubernetes access
3
4
4
5
## Installation
@@ -23,15 +24,15 @@ This tool is intended to be used in your `~/.aws/config`. It provides just-in-t
23
24
24
25
Example ` ~/.aws/config ` for admin access to Duplo:
25
26
26
- ```
27
+ ``` ini
27
28
[profile myduplo-admin]
28
29
region =us-west-2
29
30
credential_process =duplo-jit aws --admin --host https://MY-DUPLO-HOSTNAME.duplocloud.net --interactive
30
31
```
31
32
32
33
Example ` ~/.aws/config ` for tenant-level access to Duplo:
33
34
34
- ```
35
+ ``` ini
35
36
[profile myduplo-tenant]
36
37
region =us-west-2
37
38
credential_process =duplo-jit aws --tenant MY-TENANT-NAME --host https://MY-DUPLO-HOSTNAME.duplocloud.net --interactive
@@ -44,89 +45,73 @@ credential_process=duplo-jit aws --tenant MY-TENANT-NAME --host https://MY-DUPLO
44
45
```
45
46
Usage of duplo-jit:
46
47
-admin
47
- Get admin credentials
48
+ Get admin credentials
49
+ -api-host string
50
+ Specify an alternate DuploCloud API base URL if it differs from the UI host (defaults to the value of --host if omitted)
48
51
-debug
49
- Turn on verbose (debugging) output
52
+ Turn on verbose (debugging) output
50
53
-duplo-ops
51
- Get Duplo operations credentials
54
+ Get Duplo operations credentials
52
55
-host string
53
- Duplo API base URL
56
+ DuploCloud base URL
54
57
-interactive
55
- Allow getting Duplo credentials via an interactive browser session
56
- -port
57
- Allow choosing a port for the interactive browser session. Default is random
58
+ Allow getting Duplo credentials via an interactive browser session
58
59
-no-cache
59
- Disable caching (not recommended)
60
+ Disable caching (not recommended)
61
+ -port int
62
+ Port to use for the local web server
60
63
-tenant string
61
- Get credentials for the given tenant
64
+ Get credentials for the given tenant
62
65
-token string
63
- Duplo API token
66
+ DuploCloud API token
64
67
-version
65
- Output version information and exit
68
+ Output version information and exit
66
69
```
67
70
68
71
### duplo-jit duplo --help
69
72
70
73
```
71
74
Usage of duplo-jit:
75
+ -api-host string
76
+ Specify an alternate DuploCloud API base URL if it differs from the UI host (defaults to the value of --host if omitted)
72
77
-debug
73
- Turn on verbose (debugging) output
78
+ Turn on verbose (debugging) output
74
79
-host string
75
- Duplo API base URL
80
+ DuploCloud base URL
76
81
-interactive
77
- Allow getting Duplo credentials via an interactive browser session
78
- -port
79
- Allow choosing a port for the interactive browser session. Default is random
82
+ Allow getting Duplo credentials via an interactive browser session
80
83
-no-cache
81
- Disable caching (not recommended)
84
+ Disable caching (not recommended)
85
+ -port int
86
+ Port to use for the local web server
82
87
-token string
83
- Duplo API token
88
+ DuploCloud API token
84
89
-version
85
- Output version information and exit
90
+ Output version information and exit
86
91
```
87
92
88
93
### duplo-jit k8s --help
89
94
90
95
```
91
96
Usage of duplo-jit:
97
+ -api-host string
98
+ Specify an alternate DuploCloud API base URL if it differs from the UI host (defaults to the value of --host if omitted)
92
99
-debug
93
- Turn on verbose (debugging) output
100
+ Turn on verbose (debugging) output
94
101
-host string
95
- Duplo API base URL
102
+ DuploCloud base URL
96
103
-interactive
97
- Allow getting Duplo credentials via an interactive browser session
104
+ Allow getting Duplo credentials via an interactive browser session
98
105
-no-cache
99
- Disable caching (not recommended)
106
+ Disable caching (not recommended)
100
107
-plan string
101
- Get credentials for the given plan
102
- -tenant string
103
- Get credentials for the given tenant
104
- -token string
105
- Duplo API token
106
- -version
107
- Output version information and exit
108
- ```
109
-
110
- ## Deprecated: duplo-aws-credential-process --help
111
-
112
- ```
113
- Usage of duplo-aws-credential-process:
114
- -admin
115
- Get admin credentials
116
- -debug
117
- Turn on verbose (debugging) output
118
- -duplo-ops
119
- Get Duplo operations credentials
120
- -host string
121
- Duplo API base URL
122
- -interactive
123
- Allow getting Duplo credentials via an interactive browser session
124
- -no-cache
125
- Disable caching (not recommended)
108
+ Get credentials for the given plan
109
+ -port int
110
+ Port to use for the local web server
126
111
-tenant string
127
- Get credentials for the given tenant
112
+ Get credentials for the given tenant
128
113
-token string
129
- Duplo API token
114
+ DuploCloud API token
130
115
-version
131
- Output version information and exit
116
+ Output version information and exit
132
117
```
0 commit comments