CreateTrust creates a trust policy for a service principal. Validates the CEL condition_expression at creation time.
Documentation Index
Fetch the complete documentation index at: https://conductorone-groman-network-requirements-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.
The service principal ID to create the trust for (from URL path).
The WorkloadFederationServiceCreateTrustRequest message.
IP allowlist for token exchange requests matching this trust. Accepts IPv4 (e.g. 10.0.0.0/24) or IPv6 (e.g. 2001:db8::/32) CIDRs.
CEL expression evaluated against JWT claims. Must return bool. Compiled and validated before storage.
A description of what this trust policy matches.
The display name for the trust.
JWT claim names from the subject token to copy into the issued C1 token.
The provider this trust references.
Scoped role IDs. Effective permissions = min(SP roles, trust.scoped_role_ids).
Successful response
The WorkloadFederationServiceCreateTrustResponse message.
WorkloadFederationTrust represents a per-SP trust policy that references a tenant-level provider and defines a CEL condition for claim matching.