@rockcarver/frodo-cli 4.2.0 → 4.2.1-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [4.2.1-0] - 2026-07-24
11
+
12
+ ## [4.2.0] - 2026-07-22
13
+
10
14
  ### Added
11
15
 
12
16
  - Expanded experimental `frodo config-manager push` coverage with new import commands (PRs #633, #637, #638, #639, #640):
@@ -415,18 +419,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
415
419
  ### Added
416
420
 
417
421
  - Improve support for custom platform deployments (non-forgeops or customized forgeops)
422
+
418
423
  - \#429: Added options to support custom oauth2 clients used to obtain the access token for IDM API calls:
424
+
419
425
  - `--login-client-id <client-id>` Specify a custom OAuth2 client id to use a your own oauth2 client for IDM API calls in deployments of type "cloud" or "forgeops". Your custom client must be configured as a public client and allow the authorization code grant using the "openid fr:idm:\*" scope. Use the "--redirect-uri" parameter if you have configured a custom redirect uri (default: "<host>/platform/appAuthHelperRedirect.html").
420
426
  - `--login-redirect-uri <redirect-uri>` Specify a custom redirect URI to use with your custom OAuth2 client (efault: "<host>/platform/appAuthHelperRedirect.html").
421
427
 
422
428
  The above options can also be supplied through environment variables:
429
+
423
430
  - `FRODO_LOGIN_CLIENT_ID` OAuth2 client id for IDM API calls. Overridden by '--login-client-id' option.
424
431
  - `FRODO_LOGIN_REDIRECT_URI` Redirect Uri for custom OAuth2 client id. Overridden by '--login-redirect-uri' option.
425
432
 
426
433
  - \#359: Added an option to support custom IDM host URLs for all IDM API calls (e.g. platform deployments hosting AM and IDM on/in different DNS hosts/domains):
434
+
427
435
  - `--idm-host <idm-host>` IDM base URL, e.g.: <https://cdk.idm.example.com/myidm>. Use only if your IDM installation resides in a different domain and/or if the base path differs from the default "/openidm".
428
436
 
429
437
  The above option can also be supplied through an environment variable:
438
+
430
439
  - `FRODO_IDM_HOST` IDM base URL. Overridden by '--idm-host' option.
431
440
 
432
441
  **_Note:_** All the above options are also persisted in connection profiles so they only have to specified once and after that they come out of the connection profile.
@@ -768,12 +777,15 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
768
777
  - `frodo esv secret import`
769
778
 
770
779
  - Frodo now supports exporting (and importing) of ESV secret values. To leave stuartship of secret values with the cloud environment where they belong, frodo will always encrypt values using either encryption keys from the source environment (default) or the target environment (export option). Frodo will never export secrets in the clear. However, frodo supports importing clear values (as well as importing encrypted values). Use these new commands and parameters to export/import variables and secrets including secret values:
780
+
771
781
  - New parameters for existing `frodo esv secret export` and `frodo config export` commands:
782
+
772
783
  - `--include-active-values` Include the currently active (and loaded) secret value in the export. By default, secret values are encrypted server-side in the environment they are exported from. Use `--target <host url>` to have another environment perform the encryption.
773
784
 
774
785
  - `--target <host url>` Host URL of the environment to perform secret value encryption. The URL must resolve to an existing connection profile. Use this option to generate an export that can be imported into the target environment without requiring admin access to the source environment.
775
786
 
776
787
  - New `frodo esv secret import` and updated existing `frodo config import` command and note-worthy parameters:
788
+
777
789
  - `--include-active-values` Import any secret values contained in the import file. By default, secret values are encrypted server-side in the environment they are exported from. Use `--source <host url>` to import a file exported from another environment than the one you are importing to.
778
790
 
779
791
  - `--source <host url>` Host URL of the environment which performed secret value encryption. The URL must resolve to an existing connection profile. Use this option to import a file that was exported from a different source environment than the one you are importing to.
@@ -951,12 +963,14 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
951
963
  ### Added
952
964
 
953
965
  - \#283: Support for authentication settings:
966
+
954
967
  - `frodo authn` Manage authentication setting.
955
968
  - `describe` List authentication settings.
956
969
  - `export` Export authentication settings.
957
970
  - `import` Import authentication settings.
958
971
 
959
972
  Examples:
973
+
960
974
  - Describe authentication settings:<br>
961
975
  `frodo authn describe <myTenant> <realm>`
962
976
 
@@ -1059,12 +1073,14 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1059
1073
  ### Added
1060
1074
 
1061
1075
  - \#251: Support for Identity Cloud admin federation configuration:
1076
+
1062
1077
  - `frodo admin federation` Manage admin federation configuration.
1063
1078
  - `export` Export admin federation providers.
1064
1079
  - `import` Import admin federation providers.
1065
1080
  - `list` List admin federation providers.
1066
1081
 
1067
1082
  Examples:
1083
+
1068
1084
  - List all configured admin federation providers:<br>
1069
1085
  `frodo admin federation list <myTenant>`
1070
1086
 
@@ -1102,12 +1118,14 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1102
1118
 
1103
1119
  - MacOS binaries are now signed and notarized and run without security exceptions.
1104
1120
  - \#251: Support for Identity Cloud admin federation configuration:
1121
+
1105
1122
  - `frodo admin federation` Manage admin federation configuration.
1106
1123
  - `export` Export admin federation providers.
1107
1124
  - `import` Import admin federation providers.
1108
1125
  - `list` List admin federation providers.
1109
1126
 
1110
1127
  Examples:
1128
+
1111
1129
  - List all configured admin federation providers:<br>
1112
1130
  `frodo admin federation list <myTenant>`
1113
1131
 
@@ -1140,12 +1158,14 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1140
1158
  ### Added
1141
1159
 
1142
1160
  - \#251: Support for Identity Cloud admin federation configuration:
1161
+
1143
1162
  - `frodo admin federation` Manage admin federation configuration.
1144
1163
  - `export` Export admin federation providers.
1145
1164
  - `import` Import admin federation providers.
1146
1165
  - `list` List admin federation providers.
1147
1166
 
1148
1167
  Examples:
1168
+
1149
1169
  - List all configured admin federation providers:<br>
1150
1170
  `frodo admin federation list <myTenant>`
1151
1171
 
@@ -1198,6 +1218,7 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1198
1218
  ### Added
1199
1219
 
1200
1220
  - Support for authorization policies, policy sets, and resource types through new `authz` commands:
1221
+
1201
1222
  - `frodo authz type` Manage authorization resource types.
1202
1223
  - `delete` Delete authorization resource types.
1203
1224
  - `describe` Describe authorization resource types.
@@ -1218,6 +1239,7 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1218
1239
  - `list` List authorization policies.
1219
1240
 
1220
1241
  Examples:
1242
+
1221
1243
  - Export a whole policy set including policies and resource types:<br>
1222
1244
  `frodo authz set export -i <myPolicySet> <myTenant>`
1223
1245
  - Import a whole policy set including dependencies exported using the previous example:<br>
@@ -1231,6 +1253,7 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1231
1253
  **_Note_**: Policy IDs/names have to be unique within the realm. Therefore you cannot export all policies from one policy set and import them into another policy set in the same realm without deleting the original policy set first.
1232
1254
 
1233
1255
  Notes:
1256
+
1234
1257
  - Use the new `--prereqs` option with the `authz set/policy import/export` commands to include structural prerequisites like resource types and policy sets.
1235
1258
  - Use the new `--json` option with all `describe` sub-commands:<br>
1236
1259
  `frodo authz type describe --json -n URL <myTenant>`<br>
@@ -1371,9 +1394,11 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1371
1394
  ### Added
1372
1395
 
1373
1396
  - \#52: Added new developer options for `script export` and `script import` commands:
1397
+
1374
1398
  - `frodo script export`:
1375
1399
  - `-x`, `--extract`: Extract the script from the exported file, and save it to a separate file. Ignored with `-n` or `-a`.
1376
1400
  - `frodo script import`:
1401
+
1377
1402
  - `-w`, `--watch`: Watch for changes to the script files and import the scripts automatically when the file changes. Can only be used with `-A`. (default: false)
1378
1403
 
1379
1404
  **_Note:_** This new option only applies if the export was generated with the new `--extract` option!
@@ -1414,50 +1439,53 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1414
1439
  ### Added
1415
1440
 
1416
1441
  - Full support for Identity Cloud Service Accounts across all commands. Three options to leverage service accounts:
1417
- 1. Connection profiles for daily CLI usage:
1418
1442
 
1419
- For daily admin and development tasks, using the new `frodo conn save` command (see details under next bullet) is the easiest way to get going with service accounts. To migrate an existing connection profile to service accounts and automatically create a service account for your tenant admin, simply issue the following command:
1443
+ 1. Connection profiles for daily CLI usage:
1444
+
1445
+ For daily admin and development tasks, using the new `frodo conn save` command (see details under next bullet) is the easiest way to get going with service accounts. To migrate an existing connection profile to service accounts and automatically create a service account for your tenant admin, simply issue the following command:
1446
+
1447
+ % frodo conn save service-accounts
1448
+ Connected to https://openam-service-accounts.forgeblocks.com/am [alpha] as user volker.scheuber@forgerock.com
1449
+ Created and added service account Frodo-SA-1673586189578 with id 99c04bba-7213-463b-9a27-ceafa8a95734 to profile.
1450
+ Saved connection profile https://openam-service-accounts.forgeblocks.com/am
1451
+ %
1420
1452
 
1421
- % frodo conn save service-accounts
1422
- Connected to https://openam-service-accounts.forgeblocks.com/am [alpha] as user volker.scheuber@forgerock.com
1423
- Created and added service account Frodo-SA-1673586189578 with id 99c04bba-7213-463b-9a27-ceafa8a95734 to profile.
1424
- Saved connection profile https://openam-service-accounts.forgeblocks.com/am
1425
- %
1453
+ Then validate your connection profile is using the new service account:
1426
1454
 
1427
- Then validate your connection profile is using the new service account:
1455
+ % frodo info service-accounts
1456
+ Connected to https://openam-service-accounts.forgeblocks.com/am [alpha] as service account Frodo-SA-1673586189578 [99c04bba-7213-463b-9a27-ceafa8a95734]
1428
1457
 
1429
- % frodo info service-accounts
1430
- Connected to https://openam-service-accounts.forgeblocks.com/am [alpha] as service account Frodo-SA-1673586189578 [99c04bba-7213-463b-9a27-ceafa8a95734]
1458
+ Host URL │https://openam-service-accounts.forgeblocks.com/am
1459
+ AM Version │7.3.0-2022-10-SNAPSHOT Build 9a1793c301ef579705e59b66ce57587f553e915f (2022-December-13 10:05)
1460
+ Subject (Type) │Frodo-SA-1673586189578 [99c04bba-7213-463b-9a27-ceafa8a95734] (Service Account)
1461
+ Deployment Type│cloud
1462
+ Cookie Name │e8b2bd07d5440d3
1463
+ Immutable │false
1464
+ Locked │false
1465
+ Region │us-west1
1466
+ Tier │other
1431
1467
 
1432
- Host URL │https://openam-service-accounts.forgeblocks.com/am
1433
- AM Version │7.3.0-2022-10-SNAPSHOT Build 9a1793c301ef579705e59b66ce57587f553e915f (2022-December-13 10:05)
1434
- Subject (Type) │Frodo-SA-1673586189578 [99c04bba-7213-463b-9a27-ceafa8a95734] (Service Account)
1435
- Deployment Type│cloud
1436
- Cookie Name │e8b2bd07d5440d3
1437
- Immutable │false
1438
- Locked │false
1439
- Region │us-west1
1440
- Tier │other
1468
+ Bearer token:
1469
+ eyJ0eXAiOiJKV1QiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiYWxnIjoiZGlyIn0..JD1iu64iGZZoGNwEr-iF2w.af-0-UDDOdusAETjw9YE3YnjOPr6TrdQrBLcl1lxf5RpNThfRhD08xvu1WtJbUZgvjbWdajECEFJfnEinnrUdpe9l0tHU6gAxDrRmu9hAjt0AB3PFSk9BE5SlwvaGoW5vrF4oH0IYtuv4899hFF8KGNYUtou143xmSrsLH37862YiAeiRKtjaQsVUrdbDPAFnKgGRxJIiXp-UE0ZCQQGSqm-Gj0AqVvo-Piib9THrEbbJCzdc00RPaCU2Ra1DH9PDid7ix-zfuind5IgEXxA8XwBM7kSEkiDLUWZ8EaFhn6YXwIHjXetacgYvvDaUav2Fq5baIitnG_LIrCm32XzcDkVnph4mVklBwfbQbWE6BGXEVLK-QLdDupaQw-bic-yVs2d7PBk2y70gbChHCQOm6-MepkYznP4wKoRR1gkqCdl51QIp-tsFB5K2plrKXiwsfHlHKfFKmsbdQUmH7xJFZQRhAtR_pKm-vHPOrPfBh0VbAdLRSkSeOZUABFH56X3gwXIpG_zuH42bQQkM9AlkB-lZrLf4jN0zFq-2ZN-zDgRR9h6qiiD3p9BDmFfaorUDTfFSrfaKas7OIp5ooW8Kqpv28RRtRtvfex0vT_kRbWl5R08MPWZDKZbx4IMyuun-2pYJ-F2-dvfA4A-jRvWIvC6jTUTu-RZZ0Yw1F2lgwFOVbmpMmG2uGHp5GceWePsZ34FVtJuaTd5D-uq_FoAb3HQ7FGEgUMJN_q82hCCX3URv_ocbFMjYwctdUqV_Ed-__A_9lbHHr8D2Uw_Qo0mwku7qwNBTS0-OcrwDvBOJohzRbpbfim-Sq2UzV9SBzzX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w1F2lgwFOVbmpMmG2uGHp5GceWePsZ34FVtJuaTd5D-uq_FoAb3HQ7FGEgUMJN_q82hCCX3URv_ocbFMjYwctdUqV_Ed-__A_9lbHHr8D2Uw_Qo0mwku7qwNBTS0-OcrwDvBOJohzRbpbfim-Sq2UzV9SBzzXNK7sMft1pNfu2-saOwPfy6SE0u42-HDqxE9t4MkklSroPY0oDUxO58ET8LXnewGhC9Tt0XTk6WA2rNLcNirhFqdmtKgfrSMQ_t22_DQEDwXpXqtHGmDoltJe7x_6Ofh0W5l7_A71MoHeFpVa_AHpHybnaF4fvUbD284wOV8i22SqrUKuHoJ3o6_g5JlhvMCvb4OZQ-ltxSf98aPsB9nCSthYg5-GkiR_r5mK1w9gZkBTXfYs0qC8-zYEQb4WNiI9.2JGMj9iW6YD-RE_dGkL7_w
1444
- %
1472
+ Once you have verified that your service account works, go ahead and enable MFA for your tenant admin account!
1445
1473
 
1446
- Once you have verified that your service account works, go ahead and enable MFA for your tenant admin account!
1474
+ 2. CLI parameters:
1447
1475
 
1448
- 2. CLI parameters:
1476
+ All commands support the following new options to use service accounts:
1449
1477
 
1450
- All commands support the following new options to use service accounts:
1451
- - `--sa-id <uuid>` Service account's uuid. If specified, must also include `--sa-jwk-file`.
1452
- - `--sa-jwk-file <file>` File containing the service account's java web key (jwk). Jwk must contain private key! If specified, must also include `--sa-id`.
1478
+ - `--sa-id <uuid>` Service account's uuid. If specified, must also include `--sa-jwk-file`.
1479
+ - `--sa-jwk-file <file>` File containing the service account's java web key (jwk). Jwk must contain private key! If specified, must also include `--sa-id`.
1453
1480
 
1454
- This is a great way to leverage the nice UI to create and manage service accounts and then use one of the accounts with Frodo.
1481
+ This is a great way to leverage the nice UI to create and manage service accounts and then use one of the accounts with Frodo.
1455
1482
 
1456
- 3. Environment variables for CI/CD
1483
+ 3. Environment variables for CI/CD
1457
1484
 
1458
- For CI/CD pipelines, environment variables are preferable over command line parameters, because they are not visible in system logs:
1459
- - `FRODO_SA_ID`: Service account's uuid. If set, must also set `FRODO_SA_JWK`.
1460
- - `FRODO_SA_JWK`: Service account's java web key (jwk) as single-line string. Jwk must contain private key! If set, must also set `FRODO_SA_ID`.
1485
+ For CI/CD pipelines, environment variables are preferable over command line parameters, because they are not visible in system logs:
1486
+
1487
+ - `FRODO_SA_ID`: Service account's uuid. If set, must also set `FRODO_SA_JWK`.
1488
+ - `FRODO_SA_JWK`: Service account's java web key (jwk) as single-line string. Jwk must contain private key! If set, must also set `FRODO_SA_ID`.
1461
1489
 
1462
1490
  - \#143: Support Identity Cloud Service Accounts in `frodo conn save|add` command
1463
1491
  1. The `frodo conn add` command is renamed to `frodo conn save` and `add` is added as an alias for backwards compatibility.
@@ -1472,6 +1500,7 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1472
1500
  5. The `frodo conn save` command validates service account configuration unless the `--no-validate` options is supplied.
1473
1501
 
1474
1502
  - Add support for additional environment variables:
1503
+
1475
1504
  - `FRODO_SA_ID`: Service account's uuid. If set, must also set `FRODO_SA_JWK`.
1476
1505
  - `FRODO_SA_JWK`: Service account's java web key (jwk) as single-line string. Jwk must contain private key! If set, must also set `FRODO_SA_ID`.
1477
1506
  - `FRODO_AUTHENTICATION_SERVICE=journey`: Specify a login journey for frodo to use.
@@ -1479,6 +1508,7 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1479
1508
  - `FRODO_POLLY_LOG_LEVEL=info`: Frodo mock engine log level (`trace`, `debug`, `info`, `warn`, `error`, `silent`). This is helpful for troubleshooting the mock capability, only.
1480
1509
 
1481
1510
  Environment variables added in 0.19.0:
1511
+
1482
1512
  - `FRODO_HOST`
1483
1513
  - `FRODO_REALM`
1484
1514
  - `FRODO_USERNAME`
@@ -2351,7 +2381,9 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
2351
2381
  - Fixed problem with adding connection profiles
2352
2382
  - Miscellaneous bug fixes
2353
2383
 
2354
- [unreleased]: https://github.com/rockcarver/frodo-cli/compare/v4.1.0...HEAD
2384
+ [unreleased]: https://github.com/rockcarver/frodo-cli/compare/v4.2.1-0...HEAD
2385
+ [4.2.1-0]: https://github.com/rockcarver/frodo-cli/compare/v4.2.0...v4.2.1-0
2386
+ [4.2.0]: https://github.com/rockcarver/frodo-cli/compare/v4.1.0...v4.2.0
2355
2387
  [4.1.0]: https://github.com/rockcarver/frodo-cli/compare/v4.0.2-0...v4.1.0
2356
2388
  [4.0.2-0]: https://github.com/rockcarver/frodo-cli/compare/v4.0.1...v4.0.2-0
2357
2389
  [4.0.1]: https://github.com/rockcarver/frodo-cli/compare/v4.0.1-1...v4.0.1