-
Notifications
You must be signed in to change notification settings - Fork 820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: move oauth secrets to parameter store #10413
Conversation
This pull request introduces 7 alerts when merging 91c26ee into 59c6422 - view on LGTM.com new alerts:
|
...category-auth/src/provider-utils/awscloudformation/auth-secret-manager/sync-oauth-secrets.ts
Show resolved
Hide resolved
...y-auth/src/provider-utils/awscloudformation/auth-stack-builder/auth-cognito-stack-builder.ts
Outdated
Show resolved
Hide resolved
...y-auth/src/provider-utils/awscloudformation/auth-stack-builder/auth-cognito-stack-builder.ts
Outdated
Show resolved
Hide resolved
...y-auth/src/provider-utils/awscloudformation/auth-stack-builder/auth-cognito-stack-builder.ts
Outdated
Show resolved
Hide resolved
...ategory-auth/src/provider-utils/awscloudformation/auth-secret-manager/auth-secret-manager.ts
Outdated
Show resolved
Hide resolved
...ategory-auth/src/provider-utils/awscloudformation/auth-secret-manager/auth-secret-manager.ts
Outdated
Show resolved
Hide resolved
...ategory-auth/src/provider-utils/awscloudformation/auth-secret-manager/auth-secret-manager.ts
Outdated
Show resolved
Hide resolved
...ategory-auth/src/provider-utils/awscloudformation/auth-secret-manager/auth-secret-manager.ts
Outdated
Show resolved
Hide resolved
...ategory-auth/src/provider-utils/awscloudformation/auth-secret-manager/auth-secret-manager.ts
Outdated
Show resolved
Hide resolved
This pull request introduces 8 alerts when merging 7abb7e9 into 355c477 - view on LGTM.com new alerts:
|
This pull request introduces 8 alerts when merging 162f4e5 into 355c477 - view on LGTM.com new alerts:
|
packages/amplify-category-auth/src/__tests__/commands/import.headless.test.ts
Outdated
Show resolved
Hide resolved
...mplify-category-auth/src/provider-utils/awscloudformation/auth-secret-manager/secret-name.ts
Outdated
Show resolved
Hide resolved
...category-auth/src/provider-utils/awscloudformation/auth-secret-manager/sync-oauth-secrets.ts
Outdated
Show resolved
Hide resolved
.../amplify-category-auth/src/provider-utils/awscloudformation/auth-secret-manager/tpi-utils.ts
Show resolved
Hide resolved
.../amplify-category-auth/src/provider-utils/awscloudformation/auth-secret-manager/tpi-utils.ts
Outdated
Show resolved
Hide resolved
...ategory-auth/src/provider-utils/awscloudformation/auth-stack-builder/auth-stack-transform.ts
Outdated
Show resolved
Hide resolved
...ges/amplify-category-auth/src/provider-utils/awscloudformation/handlers/resource-handlers.ts
Outdated
Show resolved
Hide resolved
...ify-category-auth/src/provider-utils/awscloudformation/utils/generate-auth-stack-template.ts
Outdated
Show resolved
Hide resolved
packages/amplify-provider-awscloudformation/src/resourceParams.js
Outdated
Show resolved
Hide resolved
packages/amplify-migration-tests/src/__tests__/update_tests/auth_migration_update.test.ts
Outdated
Show resolved
Hide resolved
This pull request introduces 6 alerts when merging 60276d1 into d43a009 - view on LGTM.com new alerts:
|
packages/amplify-category-auth/resources/auth-custom-resource/hostedUIProviderLambda.js
Outdated
Show resolved
Hide resolved
packages/amplify-category-auth/resources/auth-custom-resource/hostedUIProviderLambda.js
Outdated
Show resolved
Hide resolved
packages/amplify-category-auth/resources/auth-custom-resource/hostedUIProviderLambda.js
Outdated
Show resolved
Hide resolved
packages/amplify-category-auth/resources/auth-custom-resource/hostedUIProviderLambda.js
Outdated
Show resolved
Hide resolved
packages/amplify-category-auth/resources/auth-custom-resource/hostedUIProviderLambda.js
Outdated
Show resolved
Hide resolved
...ategory-auth/src/provider-utils/awscloudformation/auth-stack-builder/auth-stack-transform.ts
Outdated
Show resolved
Hide resolved
...y-auth/src/provider-utils/awscloudformation/auth-stack-builder/auth-cognito-stack-builder.ts
Outdated
Show resolved
Hide resolved
...y-category-auth/src/provider-utils/awscloudformation/utils/get-oauth-secrets-from-cognito.ts
Outdated
Show resolved
Hide resolved
This pull request introduces 6 alerts when merging 24e2ca6 into 269bb56 - view on LGTM.com new alerts:
|
This pull request introduces 4 alerts when merging a7fb694 into 10d8468 - view on LGTM.com new alerts:
|
This pull request introduces 8 alerts when merging 3353521 into cba70d6 - view on LGTM.com new alerts:
|
This pull request introduces 9 alerts when merging f11a595 into cba70d6 - view on LGTM.com new alerts:
|
This pull request introduces 10 alerts when merging a177f74 into 1b789bf - view on LGTM.com new alerts:
|
await this.ssmClient | ||
.getParameter({ | ||
Name: secretName, | ||
WithDecryption: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be false in this case
WithDecryption: true, | ||
}) | ||
.promise(); | ||
} catch (err) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be completely accurate we should check that the error was a "not exists" exception rather than something else
This pull request introduces 12 alerts when merging 5d0d670 into d9bdcd8 - view on LGTM.com new alerts:
|
This pull request introduces 12 alerts when merging 603977f into d9bdcd8 - view on LGTM.com new alerts:
|
...ategory-auth/src/provider-utils/awscloudformation/auth-secret-manager/auth-secret-manager.ts
Outdated
Show resolved
Hide resolved
...ategory-auth/src/provider-utils/awscloudformation/auth-secret-manager/auth-secret-manager.ts
Show resolved
Hide resolved
...category-auth/src/provider-utils/awscloudformation/auth-secret-manager/sync-oauth-secrets.ts
Outdated
Show resolved
Hide resolved
...category-auth/src/provider-utils/awscloudformation/auth-secret-manager/sync-oauth-secrets.ts
Show resolved
Hide resolved
...y-category-auth/src/provider-utils/awscloudformation/utils/get-oauth-secrets-from-cognito.ts
Outdated
Show resolved
Hide resolved
This reverts commit 16db2ce.
This reverts commit 16db2ce.
Description of changes
Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.