View a markdown version of this page

AWS::CredentialBroker::CredentialProvider AuthorizationServerMetadata - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::CredentialBroker::CredentialProvider AuthorizationServerMetadata

An authorization server's OAuth endpoints, stated explicitly rather than discovered. Use this when the authorization server publishes no discovery document, or when you want to pin the endpoints instead of resolving them.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "AuthorizationEndpoint" : String, "Issuer" : String, "TokenEndpoint" : String }

YAML

AuthorizationEndpoint: String Issuer: String TokenEndpoint: String

Properties

AuthorizationEndpoint

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from DiscoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

Required: No

Type: String

Pattern: ^https://[^\s]+$

Minimum: 1

Maximum: 2048

Update requires: No interruption

Issuer

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

Required: Yes

Type: String

Pattern: ^https://[^\s]+$

Minimum: 1

Maximum: 2048

Update requires: No interruption

TokenEndpoint

The HTTPS URL of the authorization server's token endpoint, where the provider exchanges a grant for an access token. Required unless the provider resolves its endpoints from DiscoveryUrl.

Required: Yes

Type: String

Pattern: ^https://[^\s]+$

Minimum: 1

Maximum: 2048

Update requires: No interruption