The value of the credentials field is a string, with a stringified, escaped JSON array of
objects with username and password fields.
The reason that this second format stores stringified JSON inside JSON, is due to a
limitation in Liflig's load-secrets library, which only allows storing string values.
Name of secret in AWS Secrets Manager that stores basic auth credentials.
The following formats are supported for the secret value:
credentials
field is a string, with a stringified, escaped JSON array of objects withusername
andpassword
fields.load-secrets
library, which only allows storing string values.<username>:<password>
.If the secret uses one of the array formats, the authorizer will match the request's Authorization header against any one of the credentials.