Setting up AWS Secrets Manager
Before you can deploy your application stack, you must first create a Secret in AWS Secrets Manager.
Secrets Manager allows you to securely store secrets, such as API tokens, in one central location.
This secret will secure the creation of the stack and secures the communication with your application stack and OC Studio during runtime.
-
Within the AWS Console, navigate to the Secrets Manager and click "Store a new Secret". Or click here
-
On secret type, select "Other type of secrets"
- You will now set a key/value pair with the token. For the key you must use
STUDIO_TOKEN
and for the value, paste the token you copied from OC Studio.
-
Leave the encryption key as DefaultEncryptionKey and select Next
-
On the next page, for the secret name use your application's appId. Add the optional description and tags for reference. Click Next.
- On the Configure Rotation page, you can leave all of the default values. We will not automatically rotate this key, rotation will be manual. Click Next.
- Review the secret. Ensure the secret name is
OCStudio
. Finalize by clicking Store.