You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added support for Node Designer Nodes through several API and Ops functions to allow for doing exports, imports, deletes, etc. with custom node configurations.<br><br>
18
+
Just like with journeys, custom nodes get exported and imported in the same way as they do from AIC/AM, so you can import Frodo exported custom nodes into AIC/AM and vice versa.<br><br>
19
+
Additionally, journeys were updated to include custom node dependencies during exports. Even if a journey is exported with Frodo and contains these dependencies in the export JSON, they can still be imported into AIC/AM using the admin UI as it should ignore the custom node dependencies (since AIC/AM doesn't support exporting them yet).
20
+
- Added `--retry <strategy>` option to all commands.
21
+
- Added the ability to authenticate to an AM classic deployment using Amster credentials (i.e. a public/private key pair). The private key can be in a variety of formats such as PKCS, JWK, and OpenSSH, but is ultimately stored in PKCS#8 format. You can also use encrypted private keys by providing the passphrase when creating the connection profile.
@@ -68,6 +69,16 @@ const serviceAccountJwkFileOption = new Option(
68
69
'File containing the JSON Web Key (JWK) associated with the the service account.'
69
70
);
70
71
72
+
constamsterPrivateKeyPassphraseOption=newOption(
73
+
'--passphrase <passphrase>',
74
+
'The passphrase for the Amster private key if it is encrypted.'
75
+
);
76
+
77
+
constamsterPrivateKeyFileOption=newOption(
78
+
'--private-key <file>',
79
+
'File containing the private key for authenticating with Amster. Supported formats include PEM (both PKCS#1 and PKCS#8 variants), OpenSSH, DNSSEC, and JWK.'
80
+
);
81
+
71
82
constdeploymentOption=newOption(
72
83
'-m, --type <type>',
73
84
'Override auto-detected deployment type. Valid values for type: \n\
@@ -298,6 +340,8 @@ export class FrodoCommand extends FrodoStubCommand {
298
340
` FRODO_LOGIN_REDIRECT_URI: Redirect Uri for custom OAuth2 client id. Overridden by '--login-redirect-uri' option.\n`+
299
341
` FRODO_SA_ID: Service account uuid. Overridden by '--sa-id' option.\n`+
300
342
` FRODO_SA_JWK: Service account JWK. Overridden by '--sa-jwk-file' option but takes the actual JWK as a value, not a file name.\n`+
343
+
` FRODO_AMSTER_PASSPHRASE: Passphrase for the Amster private key if it is encrypted. Overridden by '--passphrase' option.\n`+
344
+
` FRODO_AMSTER_PRIVATE_KEY: Amster private key. Overridden by '--private-key' option but takes the actual private key as a value (i.e. the file contents), not a file name. Supported formats include PEM (both PKCS#1 and PKCS#8 variants), OpenSSH, DNSSEC, and JWK.\n`+
301
345
` FRODO_NO_CACHE: Disable token cache. Same as '--no-cache' option.\n`+
302
346
` FRODO_TOKEN_CACHE_PATH: Use this token cache file instead of '~/.frodo/TokenCache.json'.\n`+
303
347
('frodo conn save'===this.name()
@@ -309,7 +353,7 @@ export class FrodoCommand extends FrodoStubCommand {
309
353
` FRODO_LOG_SECRET: Log API secret. Overridden by 'password' argument.\n`
310
354
: ``)+
311
355
` FRODO_CONNECTION_PROFILES_PATH: Use this connection profiles file instead of '~/.frodo/Connections.json'.\n`+
312
-
` FRODO_AUTHENTICATION_SERVICE: Name of a login journey to use.\n`+
356
+
` FRODO_AUTHENTICATION_SERVICE: Name of a login journey to use. When using an Amster private key, specifies which journey to use for Amster authentication as opposed to the default 'amsterService' journey.\n`+
313
357
` FRODO_DEBUG: Set to any value to enable debug output. Same as '--debug'.\n`+
314
358
` FRODO_MASTER_KEY_PATH: Use this master key file instead of '~/.frodo/masterkey.key' file.\n`+
315
359
` FRODO_MASTER_KEY: Use this master key instead of what's in '~/.frodo/masterkey.key'. Takes precedence over FRODO_MASTER_KEY_PATH.\n`
@@ -359,7 +403,7 @@ export class FrodoCommand extends FrodoStubCommand {
Copy file name to clipboardExpand all lines: src/cli/conn/conn-save.ts
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,10 @@ export default function setup() {
57
57
` $ frodo conn save ${s.amBaseUrl}${s.username} '${s.password}'\n`[
58
58
'brightCyan'
59
59
]+
60
+
` Create a connection profile using Amster private key credentials (PingAM classic deployments only):\n`+
61
+
` $ frodo conn save --private-key ${s.amsterPrivateKey}${s.amClassicBaseUrl}\n`[
62
+
'brightCyan'
63
+
]+
60
64
` Save an existing service account to an existing or new connection profile:\n`+
61
65
` $ frodo conn save --sa-id ${s.saId} --sa-jwk-file ${s.saJwkFile}${s.amBaseUrl}\n`[
62
66
'brightCyan'
@@ -72,6 +76,10 @@ export default function setup() {
72
76
` Update an existing connection profile with a custom header override for a freshly Proxy Connect-protected PingOne Advanced Identity Cloud environment:\n`+
FRODO_LOGIN_REDIRECT_URI: Redirect Uri for custom OAuth2 client id. Overridden by '--login-redirect-uri' option.
102
109
FRODO_SA_ID: Service account uuid. Overridden by '--sa-id' option.
103
110
FRODO_SA_JWK: Service account JWK. Overridden by '--sa-jwk-file' option but takes the actual JWK as a value, not a file name.
111
+
FRODO_AMSTER_PASSPHRASE: Passphrase for the Amster private key if it is encrypted. Overridden by '--passphrase' option.
112
+
FRODO_AMSTER_PRIVATE_KEY: Amster private key. Overridden by '--private-key' option but takes the actual private key as a value (i.e. the file contents), not a file name. Supported formats include PEM (both PKCS#1 and PKCS#8 variants), OpenSSH, DNSSEC, and JWK.
104
113
FRODO_NO_CACHE: Disable token cache. Same as '--no-cache' option.
105
114
FRODO_TOKEN_CACHE_PATH: Use this token cache file instead of '~/.frodo/TokenCache.json'.
106
115
FRODO_CONNECTION_PROFILES_PATH: Use this connection profiles file instead of '~/.frodo/Connections.json'.
107
-
FRODO_AUTHENTICATION_SERVICE: Name of a login journey to use.
116
+
FRODO_AUTHENTICATION_SERVICE: Name of a login journey to use. When using an Amster private key, specifies which journey to use for Amster authentication as opposed to the default 'amsterService' journey.
108
117
FRODO_DEBUG: Set to any value to enable debug output. Same as '--debug'.
109
118
FRODO_MASTER_KEY_PATH: Use this master key file instead of '~/.frodo/masterkey.key' file.
110
119
FRODO_MASTER_KEY: Use this master key instead of what's in '~/.frodo/masterkey.key'. Takes precedence over FRODO_MASTER_KEY_PATH.
0 commit comments