authenticate oidc
Command: boundary authenticate oidc
The authenticate oidc
command lets you invoke the OIDC auth method to authenticate the
Boundary CLI.
The OIDC authentication method lets Boundary users delegate authentication to an OIDC provider. OIDC authentication allows Boundary to integrate with widely adopted identity providers like Okta, cloud-hosted active directory services with an OIDC frontend, and cloud identity management systems such as AWS IAM.
Examples
The following command authenticates the Boundary CLI using an OIDC auth method with the ID amoidc_q7jAdI1QgA
:
Example output:
Usage
Command options
-auth-method-id
(string: "")
- The auth method resource you want to use for the authentication. You can also specify the auth method resource using the BOUNDARY_AUTH_METHOD_ID environment variable.-scope-id
(string: "")
- The scope ID to use for the operation. You can also specify the scope ID using the BOUNDARY_SCOPE_ID environment variable.
CLI options
In addition to the command specific options, there are options common to all CLI commands and subcommands: