Skip to content

Commit

Permalink
cognito related changes updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdevops committed Oct 17, 2024
1 parent ee26aa1 commit 14b5320
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@ spec:
secretKeyRef:
name: api-token
key: JWT_ISSUER
- name: AUTH0_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: api-token
key: AUTH0_CLIENT_SECRET
{{- if .Values.imagePullSecret.enabled }}
imagePullSecrets:
- name: {{ .Values.imagePullSecret.name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ spec:
- objectName: video_confrencing_service_db_database
key: VIDEO_CONFRENCING_SERVICE_DB_DATABASE
- objectName: notification_service_db_database
key: NOTIFICATION_SERVICE_DB_DATABASE
- objectName: vonage-api-key-secret
key: VONAGE_API_KEY_SECRET
- objectName: pubnub-pub-key
Expand All @@ -58,6 +59,8 @@ spec:
key: PUBNUB_SUB_KEY
- objectName: pubnub-secret-key
key: PUBNUB_SECRET_KEY
- objectName: auth0-client-secret
key: AUTH0_CLIENT_SECRET
parameters:
# region: us-west-2
objects: |
Expand Down Expand Up @@ -114,4 +117,7 @@ spec:
objectAlias: pubnub-sub-key
- objectName: {{ .Values.pubnubSecretKey }}
objectType: ssmparameter
objectAlias: pubnub-secret-key
objectAlias: pubnub-secret-key
- objectName: {{ .Values.auth0ClientSecret }}
objectType: ssmparameter
objectAlias: auth0-client-secret
Original file line number Diff line number Diff line change
Expand Up @@ -369,4 +369,5 @@ videoconfrencingdbdatabase: ${VIDEO_CONFRENCING_DATABASE}
vonageSecret: /pubnub/vonage-api-key-secret
pubnubPubKey: /pubnub/public-key
pubnubSubKey: /pubnub/subscribe-key
pubnubSecretKey: /pubnub/secret-key
pubnubSecretKey: /pubnub/secret-key
auth0ClientSecret: /sf-arc-saas/dev/auth0-client-secret
1 change: 1 addition & 0 deletions files/tenant-samples/bridge/terraform/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ data "aws_iam_policy_document" "ssm_policy" {
]
resources = ["arn:aws:ssm:${var.region}:${local.sts_caller_arn}:parameter/${var.namespace}/${var.environment}/${var.tenant_tier}/*",
"arn:aws:ssm:${var.region}:${local.sts_caller_arn}:parameter/pubnub/*",
"arn:aws:ssm:${var.region}:${local.sts_caller_arn}:parameter/${var.namespace}/${var.environment}/auth0-client-secret",
"arn:aws:cognito-idp:${var.region}:${local.sts_caller_arn}:*"]
}
}
Expand Down

0 comments on commit 14b5320

Please sign in to comment.