OIDC Issuers
Get Auth Policy
/api/orgs/{orgName}/auth/policies/oidcissuers/{issuerId}Returns the authentication policy associated with a specific OIDC issuer registration. Authentication policies define rules for how OIDC tokens from the issuer are validated and what access they grant, including claim mappings and trust conditions.
Request Parameters
orgNamestring path requiredThe organization nameissuerIdstring path requiredThe OIDC issuer identifier
Responses
idstring requiredThe unique identifierversioninteger requiredThe version numbercreatedstring optionalThe creation timestampmodifiedstring optionalThe last modification timestamp- List of policies
- ↳
decisionstring requiredThe access decision for matching tokens (e.g. ‘allow’, ‘deny’). - ↳
tokenTypestring requiredThe type of token this rule applies to (e.g. ‘personal’, ‘org’, ’team’). - ↳
teamNamestring optionalTeam name filter. When set, this rule only applies to tokens belonging to this team. - ↳
userLoginstring optionalUser login filter. When set, this rule only applies to tokens belonging to this user. - ↳
runnerIDstring optionalRunner ID filter. When set, this rule only applies to tokens for this deployment runner. - ↳
roleIDstring optionalRole ID filter. When set, this rule only applies to tokens with this role. - ↳
authorizedPermissionsarray[string] requiredThe set of permissions granted when this rule matches. - ↳
rulesmap[string]object requiredAdditional rule conditions as key-value pairs.
List
/api/orgs/{orgName}/oidc/issuersReturns all OIDC issuer registrations for an organization. OIDC issuer registrations establish trust relationships with external identity providers (such as AWS, Azure, Google Cloud, or GitHub Actions) to enable token exchange for temporary Pulumi Cloud credentials. This eliminates the need for long-lived access tokens in CI/CD pipelines and deployment automation.
Request Parameters
orgNamestring path requiredThe organization name
Responses
- The list of OIDC issuers
- ↳
idstring requiredThe unique identifier of the registered OIDC issuer. - ↳
namestring requiredThe display name of the OIDC issuer. - ↳
urlstring requiredThe URL of the OIDC issuer. - ↳
issuerstring requiredThe OIDC issuer identifier, typically a URL that uniquely identifies the identity provider. - ↳
thumbprintsarray[string] optionalSHA-1 certificate thumbprints used to verify the OIDC issuer’s TLS certificate. - The JSON Web Key Set for the OIDC issuer.
- ↳
maxExpirationinteger optionalThe maximum token expiration time in seconds. - ↳
createdstring optionalThe ISO 8601 timestamp when the OIDC issuer was created. - ↳
modifiedstring optionalThe ISO 8601 timestamp when the OIDC issuer was last modified. - ↳
lastUsedstring optionalThe ISO 8601 timestamp when the OIDC issuer was last used for token exchange.
Register OIDC Issuer
/api/orgs/{orgName}/oidc/issuersRegisters a new OIDC issuer for an organization, establishing a trust relationship with an external identity provider. Once registered, the identity provider can issue signed, short-lived tokens that are exchanged for temporary Pulumi Cloud credentials during deployments. This eliminates the need to store long-lived access tokens. Supported providers include AWS, Azure, Google Cloud, GitHub Actions, and any OIDC-compliant identity provider. The request must include the issuer URL, and the service will fetch the provider’s public signing keys to verify token authenticity.
Request Parameters
orgNamestring path requiredThe organization name
Request Body
namestring requiredThe display name of the OIDC issuer.urlstring requiredThe URL of the OIDC issuer.thumbprintsarray[string] optionalSHA-1 certificate thumbprints used to verify the OIDC issuer’s TLS certificate.maxExpirationinteger optionalThe maximum token expiration time in seconds.- The JSON Web Key Set for the OIDC issuer.
- The set of JSON Web Keys
Responses
idstring requiredThe unique identifier of the registered OIDC issuer.namestring requiredThe display name of the OIDC issuer.urlstring requiredThe URL of the OIDC issuer.issuerstring requiredThe OIDC issuer identifier, typically a URL that uniquely identifies the identity provider.thumbprintsarray[string] optionalSHA-1 certificate thumbprints used to verify the OIDC issuer’s TLS certificate.- The JSON Web Key Set for the OIDC issuer.
- The set of JSON Web Keys
maxExpirationinteger optionalThe maximum token expiration time in seconds.createdstring optionalThe ISO 8601 timestamp when the OIDC issuer was created.modifiedstring optionalThe ISO 8601 timestamp when the OIDC issuer was last modified.lastUsedstring optionalThe ISO 8601 timestamp when the OIDC issuer was last used for token exchange.
Get OIDC Issuer
/api/orgs/{orgName}/oidc/issuers/{issuerId}Returns the details of a specific OIDC issuer registration, including the issuer URL, audience restrictions, TLS thumbprints, and trust policy configuration. OIDC issuer registrations establish trust relationships between the organization and external identity providers, enabling token exchange for temporary Pulumi Cloud credentials without storing long-lived secrets.
Request Parameters
orgNamestring path requiredThe organization nameissuerIdstring path requiredThe OIDC issuer identifier
Responses
idstring requiredThe unique identifier of the registered OIDC issuer.namestring requiredThe display name of the OIDC issuer.urlstring requiredThe URL of the OIDC issuer.issuerstring requiredThe OIDC issuer identifier, typically a URL that uniquely identifies the identity provider.thumbprintsarray[string] optionalSHA-1 certificate thumbprints used to verify the OIDC issuer’s TLS certificate.- The JSON Web Key Set for the OIDC issuer.
- The set of JSON Web Keys
maxExpirationinteger optionalThe maximum token expiration time in seconds.createdstring optionalThe ISO 8601 timestamp when the OIDC issuer was created.modifiedstring optionalThe ISO 8601 timestamp when the OIDC issuer was last modified.lastUsedstring optionalThe ISO 8601 timestamp when the OIDC issuer was last used for token exchange.
Update OIDC Issuer
/api/orgs/{orgName}/oidc/issuers/{issuerId}Updates an existing OIDC issuer registration for an organization. This can be used to modify the issuer name, audience restrictions, trust policies, or other configuration. The issuer URL itself cannot be changed after creation. The issuer name is required in the update request.
Request Parameters
orgNamestring path requiredThe organization nameissuerIdstring path requiredThe OIDC issuer identifier
Request Body
namestring optionalThe updated display name of the OIDC issuer.thumbprintsarray[string] optionalUpdated SHA-1 certificate thumbprints used to verify the OIDC issuer’s TLS certificate.maxExpirationinteger optionalThe updated maximum token expiration time in seconds.- The updated JSON Web Key Set for the OIDC issuer.
- The set of JSON Web Keys
Responses
idstring requiredThe unique identifier of the registered OIDC issuer.namestring requiredThe display name of the OIDC issuer.urlstring requiredThe URL of the OIDC issuer.issuerstring requiredThe OIDC issuer identifier, typically a URL that uniquely identifies the identity provider.thumbprintsarray[string] optionalSHA-1 certificate thumbprints used to verify the OIDC issuer’s TLS certificate.- The JSON Web Key Set for the OIDC issuer.
- The set of JSON Web Keys
maxExpirationinteger optionalThe maximum token expiration time in seconds.createdstring optionalThe ISO 8601 timestamp when the OIDC issuer was created.modifiedstring optionalThe ISO 8601 timestamp when the OIDC issuer was last modified.lastUsedstring optionalThe ISO 8601 timestamp when the OIDC issuer was last used for token exchange.
Delete OIDC Issuer
/api/orgs/{orgName}/oidc/issuers/{issuerId}Deletes an OIDC issuer registration from an organization, removing the trust relationship between the organization and the identity provider. After deletion, tokens issued by this provider can no longer be exchanged for temporary Pulumi Cloud credentials. Any deployments or automation relying on this OIDC issuer for authentication will stop working.
Request Parameters
orgNamestring path requiredThe organization nameissuerIdstring path requiredThe OIDC issuer identifier
Responses
Regenerate Thumbprints
/api/orgs/{orgName}/oidc/issuers/{issuerId}/regenerate-thumbprintsRegenerates the TLS certificate thumbprints for an OIDC issuer by re-fetching the issuer’s public keys. This is needed when the identity provider rotates its TLS certificates. Cannot be used if the issuer’s JWKS are statically configured.
Request Parameters
orgNamestring path requiredThe organization nameissuerIdstring path requiredThe OIDC issuer identifier
Responses
idstring requiredThe unique identifier of the registered OIDC issuer.namestring requiredThe display name of the OIDC issuer.urlstring requiredThe URL of the OIDC issuer.issuerstring requiredThe OIDC issuer identifier, typically a URL that uniquely identifies the identity provider.thumbprintsarray[string] optionalSHA-1 certificate thumbprints used to verify the OIDC issuer’s TLS certificate.- The JSON Web Key Set for the OIDC issuer.
- The set of JSON Web Keys
maxExpirationinteger optionalThe maximum token expiration time in seconds.createdstring optionalThe ISO 8601 timestamp when the OIDC issuer was created.modifiedstring optionalThe ISO 8601 timestamp when the OIDC issuer was last modified.lastUsedstring optionalThe ISO 8601 timestamp when the OIDC issuer was last used for token exchange.
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.