identity outbound-auth oauth2 update
Update an OAuth2 provider.
Description
Update an existing OAuth2 provider. All of client-id, client-secret, authorization-url, and token-url are required.
Synopsis
grn agentbase identity outbound-auth oauth2 update <name>
--client-id <value>
--client-secret <value>
--authorization-url <value>
--token-url <value>
Options
--client-id (string)
OAuth2 client ID (required without --interactive).
- Required: Yes (enforced in non-interactive mode; prompted when
--interactiveis set)
--client-secret (string)
OAuth2 client secret (required without --interactive).
- Required: Yes (enforced in non-interactive mode; prompted as a secret when
--interactiveis set)
--authorization-url (string)
Authorization endpoint URL (required without --interactive).
- Required: Yes (enforced in non-interactive mode; prompted when
--interactiveis set)
--token-url (string)
Token endpoint URL (required without --interactive).
- Required: Yes (enforced in non-interactive mode; prompted when
--interactiveis set)
Global options
All grn agentbase commands accept:
-o, --output json|table|id— output format (defaulttable; shadowsgrn's inherited--output)-i, --interactive— prompt for missing inputs instead of requiring flags- The shared
grnglobal options:--profile,--region,--query,--endpoint-url,--debug, …
Examples
Rotate all four endpoints/credentials on an existing provider: