UpdateIdentityProvider
Updates an identity provider.
Examples
Works for all provider types. Fetches the existing provider, preserves type-specific properties, and applies the changes:
octo-cli -c UpdateIdentityProvider `
-id "provider-id" `
-n "Updated Name" `
-e "true" `
-asr "false" `
-dgid "<default-group-rtid>"
For OAuth-based providers, you can also update client credentials:
octo-cli -c UpdateIdentityProvider `
-id "provider-id" `
-n "Updated Name" `
-e "true" `
-cid "new-client-id" `
-cs "new-client-secret"
Options
| Short | Long | Required | Description |
|---|---|---|---|
-id | --identifier | yes | ID of identity provider, must be unique |
-n | --name | yes | Name of identity provider, must be unique |
-e | --enabled | yes | True if identity provider should be enabled, otherwise false |
-cid | --clientId | no | ServiceClient ID, provided by provider |
-cs | --clientSecret | no | ServiceClient secret, provided by provider |
-asr | --allowSelfRegistration | no | Allow self registration (default: true) |
-dgid | --defaultGroupRtId | no | Default group RtId for new users |