Skip to content
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

Support for Secret Values #252

Open
1 of 7 tasks
thantos opened this issue Jun 15, 2022 · 0 comments
Open
1 of 7 tasks

Support for Secret Values #252

thantos opened this issue Jun 15, 2022 · 0 comments

Comments

@thantos
Copy link
Collaborator

thantos commented Jun 15, 2022

Tracking ticket for support secrets in all Resources.

  • Secret forms
  • Resources
    • Lambda/Function
    • Step Functions
    • App Sync
    • Api Gateway
  • Update Unsafe_use_of_secrets errorCode as methods are added.
const secret = new Secret<string>(...);

new Function(this, 'func', async () => {
   const password = secret.getValue();
})
const secretToken = SecretValue.secretManager().toString();

new Function(this, 'func', async () => {
   const password = secretToken;
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant