-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log api keys are not generated anymore in new version #195
Log api keys are not generated anymore in new version #195
Comments
@DannyBlazejczak thank you for reporting this issue. It appears that the new service accounts don't have the necessary privileges to create log API keys. I'm looking into this now. My current thinking is to move the log API key generation into the |
That makes sense yes. That's what I also tried to see if log keys could get generated in that way. |
Backend changes are in, cli changes still pending. |
In version 0.15.1 - the previous version that I used, the logs API keys are automatically created.
In the latest version in 0.21.1, the auto creation of the API keys fail with following error message:
npx --no-install frodo logs tail staging alpha Connected to https://openam-xxxx-staging.id.forgerock.io/am [alpha] as user xxxxxx get keys ERROR: get keys call returned AxiosError: Request failed with status code 403 TypeError: Cannot read properties of undefined (reading 'api_key_id') at FrodoCommand.<anonymous> (/Users/xxxxx/projects/workspaces/GitHub/xxxxa/infra/node_modules/@rockcarver/frodo-cli/esm/cli/logging/cli/logging/logs-tail.ts:66:36) at processTicksAndRejections (node:internal/process/task_queues:96:5)
The migration of the old ~/.frodo/.frodorc to ~/.frodo/Connections.json automatically migrates those API keys into the new format. So upgrading to the new version still works for the log api keys. But creating new keys in a new environment is broken.
The text was updated successfully, but these errors were encountered: