eclipse-tractusx / sig-infra

Apache License 2.0
2 stars 2 forks source link

Create secrets in repositories #342

Closed ds-ext-kmassalski closed 8 months ago

ds-ext-kmassalski commented 8 months ago

Is your support request related to a problem? Please describe.
We want to stop using 'Keycloak' name in our repositories, so we need new secrets with same values as previously.

Describe the solution you'd like
Please create the following secrets in repositories https://github.com/catenax-ng/tx-item-relationship-service, https://github.com/eclipse-tractusx/item-relationship-service OAUTH2_CLIENT_SECRET_BETA OAUTH2_CLIENT_TOKEN_URI OAUTH2_CLIENT_ID OAUTH2_CLIENT_SECRET

Values should be exactly the same as previously: KEYCLOAK_OAUTH2_CLIENT_SECRET_BETA -> OAUTH2_CLIENT_SECRET_BETA KEYCLOAK_OAUTH2_CLIENT_TOKEN_URI -> OAUTH2_CLIENT_TOKEN_URI KEYCLOAK_OAUTH2_CLIENT_ID -> OAUTH2_CLIENT_ID KEYCLOAK_OAUTH2_CLIENT_SECRET -> OAUTH2_CLIENT_SECRET

As a next step we will ask you to remove old secrets.

almadigabor commented 8 months ago

Hi @ds-ext-kmassalski! Where can I find the values for these secrets? After setting them there is no way to see the values on GitHub so I can't just copy paste them from the old to the new ones.

As for the https://github.com/eclipse-tractusx/item-relationship-service repo you need to open a helpdesk ticket on Gitlab asking for setting these secrets similarly like here.

ds-ext-kmassalski commented 8 months ago

Hi @almadigabor , values can be found in Vault in 'traceability-irs' engine: OAUTH2_CLIENT_SECRET_BETA = beta/keycloak/oauth2/clientSecret OAUTH2_CLIENT_TOKEN_URI = dev/keycloak/oauth2/tokenUri OAUTH2_CLIENT_ID = dev/keycloak/oauth2/clientId OAUTH2_CLIENT_SECRET = dev/keycloak/oauth2/clientSecret

FaGru3n commented 8 months ago

hi @ds-ext-kmassalski

Secrets were created for repo https://github.com/catenax-ng/tx-item-relationship-service based on your comment

image

as @almadigabor already told for the other repo you need to raise a GitLab Issue against the Eclipse Foundation.

As for the https://github.com/eclipse-tractusx/item-relationship-service repo you need to open a helpdesk ticket on Gitlab asking for setting these secrets similarly like here.

Please raise a new issue if we can delete the old repository secrets when all works in your desired way.

Thanks in advance.

FaGru3n commented 8 months ago

If GitLab issue is done, please feel free to reopen or raise a new issue against us to clean up the secrets