Skip to main content

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

ShortLongRequiredDescription
-id--identifieryesID of identity provider, must be unique
-n--nameyesName of identity provider, must be unique
-e--enabledyesTrue if identity provider should be enabled, otherwise false
-cid--clientIdnoServiceClient ID, provided by provider
-cs--clientSecretnoServiceClient secret, provided by provider
-asr--allowSelfRegistrationnoAllow self registration (default: true)
-dgid--defaultGroupRtIdnoDefault group RtId for new users