AddAzureEntryIdIdentityProvider
Adds a new identity provider for Microsoft Azure Entra ID.
Examples
Basic usage; the client secret is piped in on standard input:
octo-cli -c AddAzureEntryIdIdentityProvider `
-n "Azure AD" `
-t "your-tenant-id" `
-cid "your-client-id" `
-css `
-e "true" `
-asr "true" `
-dgid "<default-group-rtid>"
Options
| Short | Long | Required | Description |
|---|---|---|---|
-n | --name | yes | Name of identity provider, must be unique |
-t | --tenantId | yes | Tenant ID of Azure Entry ID |
-e | --enabled | yes | True if identity provider should be enabled, otherwise false |
-cid | --clientId | yes | ServiceClient ID, provided by provider |
-cs | --clientSecret | no | Deprecated: client secret, provided by the provider. A value on the command line ends up in the shell history and the process list. Omit it to be prompted (hidden input), or use --client-secret-stdin or the environment variable OCTO_CLI_IDP_CLIENT_SECRET. |
-css | --client-secret-stdin | no | Read the client secret from standard input (one value; a trailing line break is removed) |
-asr | --allowSelfRegistration | no | Allow self registration (default: true) |
-dgid | --defaultGroupRtId | no | Default group RtId for new users |
Notes
The client secret is read from a hidden prompt, from standard input (--client-secret-stdin) or from the environment variable OCTO_CLI_IDP_CLIENT_SECRET, so it does not end up in the shell history or the process list. -cs still works in this release but logs a deprecation warning and will be removed.