Releases: rockcarver/frodo-cli
0.21.0
Added
- #52: Added new developer options for
script export
andscript import
commands:frodo script export
:-x
,--extract
: Extract the script from the exported file, and save it to a separate file. Ignored with-n
or-a
.
frodo script import
:-
-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)Note: This new option only applies if the export was generated with the new
--extract
option!
-
Changed
- Updated to frodo-lib 0.18.2
Fixed
- #190: Frodo now properly imports previously exported saml providers.
0.20.2-0
What's Changed
- Extract squash by @vscheuber in #189
- frodo script extract by @meesvandongen in #188
Full Changelog: v0.20.1...v0.20.2-0
0.20.1
Changed
- Updated to frodo-lib 0.18.1
- Include service account name in
frodo conn list -l
andfrodo conn describe <host>
output. - Add missing service account name when running
frodo conn save <host>
. - Add tenant name to beginning of output of all
frodo logs
sub-commands:fetch
,list
,tail
.
Fixed
- #176: frodo logs fetch end timestamp ignored
0.20.1-1
What's Changed
- using new frodo-lib and added tenant URL to logging start message by @atomicsamurai in #183
Full Changelog: v0.20.1-0...v0.20.1-1
0.20.1-0
Fixed
- #176: frodo logs fetch end timestamp ignored
What's Changed
- Now log fetch works in 1 second increments by @atomicsamurai in #182
Full Changelog: v0.20.0...v0.20.1-0
0.20.0
Added
-
Full support for Identity Cloud Service Accounts across all commands. Three options to leverage service accounts:
-
Connection profiles for daily CLI usage:
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:% frodo conn save service-accounts Connected to https://openam-service-accounts.forgeblocks.com/am [alpha] as user [email protected] Created and added service account Frodo-SA-1673586189578 with id 99c04bba-7213-463b-9a27-ceafa8a95734 to profile. Saved connection profile https://openam-service-accounts.forgeblocks.com/am %
Then validate your connection profile is using the new service account:
% frodo info service-accounts Connected to https://openam-service-accounts.forgeblocks.com/am [alpha] as service account Frodo-SA-1673586189578 [99c04bba-7213-463b-9a27-ceafa8a95734] Host URL │https://openam-service-accounts.forgeblocks.com/am AM Version │7.3.0-2022-10-SNAPSHOT Build 9a1793c301ef579705e59b66ce57587f553e915f (2022-December-13 10:05) Subject (Type) │Frodo-SA-1673586189578 [99c04bba-7213-463b-9a27-ceafa8a95734] (Service Account) Deployment Type│cloud Cookie Name │e8b2bd07d5440d3 Immutable │false Locked │false Region │us-west1 Tier │other Bearer token: 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-Sq2UzV9SBzzXNK7sMft1pNfu2-saOwPfy6SE0u42-HDqxE9t4MkklSroPY0oDUxO58ET8LXnewGhC9Tt0XTk6WA2rNLcNirhFqdmtKgfrSMQ_t22_DQEDwXpXqtHGmDoltJe7x_6Ofh0W5l7_A71MoHeFpVa_AHpHybnaF4fvUbD284wOV8i22SqrUKuHoJ3o6_g5JlhvMCvb4OZQ-ltxSf98aPsB9nCSthYg5-GkiR_r5mK1w9gZkBTXfYs0qC8-zYEQb4WNiI9.2JGMj9iW6YD-RE_dGkL7_w %
Once you have verified that your service account works, go ahead and enable MFA for your tenant admin account!
-
CLI parameters:
All commands support the following new options to use service accounts:
--sa-id <uuid>
Service account's uuid. If specified, must also include--sa-jwk-file
.--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
.
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.
-
Environment variables for CI/CD
For CI/CD pipelines, environment variables are preferable over command line parameters, because they are not visible in system logs:
FRODO_SA_ID
: Service account's uuid. If set, must also setFRODO_SA_JWK
.FRODO_SA_JWK
: Service account's java web key (jwk) as single-line string. Jwk must contain private key! If set, must also setFRODO_SA_ID
.
-
-
#143: Support Identity Cloud Service Accounts in
frodo conn save|add
command- The
frodo conn add
command is renamed tofrodo conn save
andadd
is added as an alias for backwards compatibility. - The
frodo conn save
command supports the following new options to manage service accounts:--sa-id <uuid>
Service account's uuid. If specified, must also include--sa-jwk-file
. Ignored with--no-sa
.--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
. Ignored with--no-sa
.--no-sa
Do not add service account.
- The existing
--no-validate
option also applies to service account operations, allowing to add service account configuration to a connection profile without validating it, typical use case is an offline situation. - The
frodo conn save
command automatically creates a new service account and adds it to an existing ID Cloud profile without service account or to a new ID Cloud profile. It does not do that if the--no-sa
option is supplied.- If
--sa-id
and--sa-jwk-file
are supplied,frodo conn save
adds the existing service account specified by those two parameters to the profile instead of creating a new service account. - The
frodo conn save
command checks if the ID Cloud tenant supports service accounts before performing any service account operations.
- If
- The
frodo conn save
command validates service account configuration unless the--no-validate
options is supplied.
- The
-
Add support for additional environment variables:
FRODO_SA_ID
: Service account's uuid. If set, must also setFRODO_SA_JWK
.FRODO_SA_JWK
: Service account's java web key (jwk) as single-line string. Jwk must contain private key! If set, must also setFRODO_SA_ID
.FRODO_AUTHENTICATION_SERVICE=journey
: Specify a login journey for frodo to use.FRODO_MOCK=1
: Enable mocking. If enabled, frodo-lib replays recorded API responses instead of connecting to a platform instance.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.
Environment variables added in 0.19.0:
FRODO_HOST
FRODO_REALM
FRODO_USERNAME
FRODO_PASSWORD
FRODO_SA_ID
FRODO_SA_JWK
FRODO_LOG_KEY
FRODO_LOG_SECRET
FRODO_DEBUG
-
Enhanced the
frodo info
command to give more details for Identity Cloud tenants. -
Warn if IDM connector servers are offline
-
Add mock mode for library to allow unit testing of clients using the library, like frodo-cli. This initial release contains minimal mock data. Enable mock mode using
FRODO_MOCK=1
. -
Updated list of contributors in package.json
-
#166: Add linux arm64 binary builds
Changed
- Updated to frodo-lib 0.18.0
- More automated testing
Fixed
0.19.5-2
What's Changed
- include mock recordings in binaries by @vscheuber in #180
Full Changelog: v0.19.5-1...v0.19.5-2
0.19.5-1
What's Changed
- update to frodo-lib 0.17.8-3 by @vscheuber in #179
Full Changelog: v0.19.5-0...v0.19.5-1
0.19.5-0
What's Changed
- PATCH RELEASE by @vscheuber in #175
- update to frodo-lib 0.17.8-0 by @vscheuber in #177
- update to frodo-lib 0.17.8-1 by @vscheuber in #178
Full Changelog: v0.19.4...v0.19.5-0
0.19.4
v0.19.4 ci: version bump to v0.19.4