Skip to content

move keycloak hook seeder from cli-testing to zenko#2422

Draft
SylvainSenechal wants to merge 1 commit into
improvement/ZENKO-5282from
improvement/ZENKO-5283
Draft

move keycloak hook seeder from cli-testing to zenko#2422
SylvainSenechal wants to merge 1 commit into
improvement/ZENKO-5282from
improvement/ZENKO-5283

Conversation

@SylvainSenechal
Copy link
Copy Markdown
Contributor

@SylvainSenechal SylvainSenechal commented May 21, 2026

Issue: ZENKO-5283

Big diff but its a 98% copy of whats in cli-testing

Once this is merged, together with the other pr adding the new method to load parameters directly from within the test, we will be able to do some refactoring around some hard coded values and weird patterns like this one :
image
to replace it with a proper config

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.password = parameters.password;
this.clientId = parameters.clientId;

logger?.debug('Keycloak parameters', {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debug log leaks the admin password to stdout/CI logs. Redact it.

Suggested change
logger?.debug('Keycloak parameters', {
logger?.debug('Keycloak parameters', {
host: this.host,
realm: this.realm,
username: this.username,
clientId: this.clientId,
});

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

who cares bro its a ci pipeline, we gon leak 'password'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant