one you've got the `Secret` with a value, you can ...
# aws
r
one you've got the
Secret
with a value, you can use the secret in your taskDefinition's container definition, eg:
Copy code
// secrets can be passed in as env variables too!
            secrets: dbPassword.arn.apply(arn =>[
                { name: "PGPASSWORD", valueFrom: arn }
            ]),
where
dbPassword
is a
SecretValue
resource that I used to set a password on a
dbPassword
Secret