Create Provider
CreateProvider registers a new external OIDC issuer for the tenant. Validates the issuer URL via OIDC discovery synchronously.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Body
The WorkloadFederationServiceCreateProviderRequest message.
A description of what this provider is for.
The display name for the new provider.
The OIDC issuer URL. Will be validated via OIDC discovery. Normalized on write: lowercase host, no trailing slash, HTTPS only.
Well-known provider type. Required -- UNSPECIFIED is rejected. When set to a named source, the backend validates issuer_url consistency.
WELL_KNOWN_WORKLOAD_PROVIDER_UNSPECIFIED, WELL_KNOWN_WORKLOAD_PROVIDER_CUSTOM, WELL_KNOWN_WORKLOAD_PROVIDER_GITHUB_ACTIONS, WELL_KNOWN_WORKLOAD_PROVIDER_GITLAB_CI, WELL_KNOWN_WORKLOAD_PROVIDER_HCP_TERRAFORM, WELL_KNOWN_WORKLOAD_PROVIDER_AWS_IAM_OUTBOUND Response
Successful response
The WorkloadFederationServiceCreateProviderResponse message.
WorkloadFederationProvider represents a tenant-level OIDC issuer registration.