generate-software-statement - 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).

generate-software-statement

Generates a software statement.

Agents must be registered with the Broker to enable communication. Agents need a software statement in order to register with the Broker. After the Agent has a software statement, it can automatically register itself with the Broker by using the OAuth 2.0 Dynamic Client Registration Protocol. After the Agent has registered with the Broker, it receives a client ID and client secret that it uses to authenticate with the Broker.

The Broker and Agent receive and use a default software statement when they're first installed. You can continue to use the default software statement, or you can choose to generate a new one. If you generate a new software statement, you must place the software statement into a new file on the Agent, and then add the file path to the agent.software_statement_path parameter in the agent.conf file. After you have done this, stop and restart the Agent so that it can use the new software statement to register with the Broker.

Syntax

sudo -u root dcv-session-manager-broker generate-software-statement

Output

software-statement

The software statement.

Example

The following example generates a software statement.

Command

sudo -u root dcv-session-manager-broker generate-software-statement

Output

software-statement: ewogICJpZCIgOiAiYjc1NTVhN2QtNWI0MC00OTJhLWJjOTUtNmUzOWNhYzkxMDcxIiwKICAiYWN0aXZlIiA6IHRydWUsCiAgImlzc3VlZEF0IiA6IDE1OTY3OTU4ODEuMDYxMDAwMDAwLAogICJicm9rZXJWZXJzaW9uIiA6ICIxLjAuMCIKfQ==