Skip to main content

security oauth2 modify

Contributors
Suggest changes

Modify global OAuth 2.0 configuration

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The security oauth2 modify command enables or disables the OAuth 2.0 feature for token-based authentication.

Parameters

[-enabled {true|false}] - OAuth 2.0 Enabled

Use this parameter to enable or disable the OAuth 2.0 feature for the cluster.

Examples

The following example enables the OAuth 2.0 feature for the cluster:

cluster1::> security oauth2 modify -enabled true