Skip to content

Commit

Permalink
Update template.yaml
Browse files Browse the repository at this point in the history
- Correcting regex issues
- Removed NoEcho from field available in the UI.
  • Loading branch information
ChrisPates committed Dec 7, 2023
1 parent cba9b34 commit 38f3549
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,22 +102,20 @@ Parameters:
GoogleCredentials:
Type: String
Description: Credentials to log into Google (content of credentials.json)
AllowedPattern: '({(\s)*(".*")(\s)*:(\s)*(".*")(\s)*})|(arn:aws:secretsmanager:us-east-2:[0-9]{8,12}:secret:[a-zA-Z0-9/_+=.@-]{1,512})'
AllowedPattern: '(\{(\s)*(".*")(\s)*:(\s)*(".*")(\s)*\})|(arn:aws:secretsmanager:us-east-2:[0-9]{8,12}:secret:[a-zA-Z0-9/_+=.@-]{1,512})'
NoEcho: true
GoogleAdminEmail:
Type: String
Description: Google Admin email
AllowedPattern: '(([a-zA-Z0-9.+=_-]{0,61})@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)|(arn:aws:secretsmanager:us-east-2:[0-9]{8,12}:secret:[a-zA-Z0-9/_+=.@-]{1,512})'
NoEcho: true
SCIMEndpointUrl:
Type: String
Description: AWS IAM Identity Center - SCIM Endpoint Url
NoEcho: true
AllowedPattern: '(https://scim.(us(-gov)?|ap|ca|cn|eu|sa)-(central|(north|south)?(east|west)?)-([0-9]{1}).amazonaws.com/(.*)-([a-z0-9]{4})-([a-z0-9]{4})-([a-z0-9]{12})/scim/v2/)|(arn:aws:secretsmanager:us-east-2:[0-9]{8,12}:secret:[a-zA-Z0-9/_+=.@-]{1,512})'
SCIMEndpointAccessToken:
Type: String
Description: AWS IAM Identity Center - SCIM AccessToken
AllowedPattern: '([0-9a-zA-Z/=+-\]{584})|(arn:aws:secretsmanager:us-east-2:[0-9]{8,12}:secret:[a-zA-Z0-9/_+=.@-]{1,512})'
AllowedPattern: '([0-9a-zA-Z/=+-\\]{500,600})|(arn:aws:secretsmanager:us-east-2:[0-9]{8,12}:secret:[a-zA-Z0-9/_+=.@-]{1,512})'
NoEcho: true
Region:
Type: String
Expand All @@ -126,7 +124,6 @@ Parameters:
IdentityStoreID:
Type: String
Description: Identifier of Identity Store in AWS IAM Identity Center
NoEcho: true
AllowedPattern: 'd-[1-z0-9]{10}|(arn:aws:secretsmanager:us-east-2:[0-9]{8,12}:secret:[a-zA-Z0-9/_+=.@-]{1,512})'

GoogleUserMatch:
Expand Down

0 comments on commit 38f3549

Please sign in to comment.