register-auth-server - NICE DCV Session Manager
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).

register-auth-server

Registers an external authentication server for use with the Broker.

By default, Session Manager uses the Broker as the authentication server to generate OAuth 2.0 access tokens. If you use the Broker as the authentication server, no additional configuration is required.

However, if you choose to use an external authentication server, such as Active Directory or Amazon Cognito, you must use this command to register the external authentication server.

Syntax

sudo -u root dcv-session-manager-broker register-auth-server --url server_url.well-known/jwks.json

Options

--url

The URL of the external authentication server to be used. You must append .well-known/jwks.json to the authentication server URL.

Type: String

Required: Yes

Example

The following example registers an external authentication server with a URL of https://my-auth-server.com/.

Command

sudo -u root dcv-session-manager-broker register-auth-server --url https://my-auth-server.com/.well-known/jwks.json

Output

Jwk url registered.