rspm edit federated-credential
Command to edit federated OAuth credentials
Terminal
rspm edit federated-credential [flags]Examples
Terminal
# Edit with ID token assertion (uses defaults for subject/audience)
rspm edit federated-credential --name=[credential name] --client-id=[client-id] --token-endpoint=[token-endpoint] --scope=[scope]
# Edit with custom subject and audience
rspm edit federated-credential --name=[credential name] --subject=[new-subject] --audience=[new-audience] --client-id=[client-id] --token-endpoint=[token-endpoint] --scope=[scope]
# Edit with client secret (uses client credentials flow)
rspm edit federated-credential --name=[credential name] --client-id=[client-id] --client-secret=[client-secret] --token-endpoint=[token-endpoint] --scope=[scope]Options
Terminal
--audience string The audience claim for the federated OAuth credential (e.g., api://example.com). Defaults to 'packagemanager'.
--client-id string The OAuth client ID for the federated OAuth credential.
--client-secret string The OAuth client secret for the federated OAuth credential. Use either this OR the subject/audience (which have defaults).
-h, --help help for federated-credential
--name string The name of the federated OAuth credential to edit.
--scope string The OAuth scope for the federated OAuth credential.
--subject string The subject claim for the federated OAuth credential (e.g., user@example.com). Defaults to the git builder name.
--token-endpoint string The OAuth token endpoint URL for the federated OAuth credential.Options inherited from parent commands
Terminal
-a, --address string The address of the remote server. If not specified, the PACKAGEMANAGER_ADDRESS environment variable is used.
-c, --config string Path to config file
--insecure-ssl-skip-verify If true, skip SSL certificate validation. This reduces the security that SSL normally provides.
-o, --output-format string Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
-v, --verbose Provide additional output