Skip to content

Commit

Permalink
Alter secret name
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach committed Oct 30, 2024
1 parent 2c53bef commit fd3e8fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/lib/KeycloakConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export class KeycloakConfig extends Construct {
const createdClientSecrets: clientSecretTuple =
props.createdOauthClients.map((clientSlug) => [
clientSlug,
// WARNING: Changing the secret name or id will cause a new secret to be created
new secretsManager.Secret(this, `${clientSlug}-client-secret`, {
secretName: `${cdk.Stack.of(this).stackName}-client-${clientSlug}`,
generateSecretString: {
excludePunctuation: true,
includeSpace: false,
Expand Down

0 comments on commit fd3e8fa

Please sign in to comment.