Skip to content

Use SPIFFE identity instead of client secret - #769

Closed
Alan-Cha wants to merge 3 commits into
rossoctl:mainfrom
Alan-Cha:spiffe_keycloak2
Closed

Alan-Cha wants to merge 3 commits into
rossoctl:mainfrom
Alan-Cha:spiffe_keycloak2

Conversation

@Alan-Cha

Copy link
Copy Markdown
Member

Fix #106


v1 = client.CoreV1Api()

logger.info(f"Reading credentials from Secret: {KEYCLOAK_NAMESPACE}/{KEYCLOAK_ADMIN_SECRET_NAME}")

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (secret)
as clear text.

except ApiException as e:
logger.error(f"❌ Failed to read Secret: {e}")
logger.error(f"Ensure Secret exists: kubectl get secret -n {KEYCLOAK_NAMESPACE} {KEYCLOAK_ADMIN_SECRET_NAME}")

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (secret)
as clear text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

feature: Replace hardcoded secret with SPIRE identity

2 participants