Optional
basicOptional
requiredVerifies that access token claims contain the given scope. Only applicable for requests that
use Authorization: Bearer <access token>
(not applicable for basic auth).
When defined as part of a resource server, scopes are on the format:
{resource server identifier}/{scope name}
, e.g. external/view_users
.
To get more type safety on this parameter, see the docs for the AuthScopesT
type parameter on
ApiGateway.
Name of secret in AWS Secrets Manager that stores basic auth credentials.
See BasicAuthAuthorizerProps.credentialsSecretName for the supported formats.