published on Saturday, Aug 8, 2026 by Formal
published on Saturday, Aug 8, 2026 by Formal
Registers an OIDC trust configuration used to authenticate externally signed JWTs to the Formal control plane as a machine user.
Create IntegrationOidc Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationOidc(name: string, args: IntegrationOidcArgs, opts?: CustomResourceOptions);@overload
def IntegrationOidc(resource_name: str,
args: IntegrationOidcArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationOidc(resource_name: str,
opts: Optional[ResourceOptions] = None,
issuer: Optional[str] = None,
machine_user_id: Optional[str] = None,
claim_condition: Optional[str] = None,
end_user_email_expression: Optional[str] = None,
jwks_uri: Optional[str] = None,
name: Optional[str] = None,
status: Optional[str] = None)func NewIntegrationOidc(ctx *Context, name string, args IntegrationOidcArgs, opts ...ResourceOption) (*IntegrationOidc, error)public IntegrationOidc(string name, IntegrationOidcArgs args, CustomResourceOptions? opts = null)
public IntegrationOidc(String name, IntegrationOidcArgs args)
public IntegrationOidc(String name, IntegrationOidcArgs args, CustomResourceOptions options)
type: formal:IntegrationOidc
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "formal_integration_oidc" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IntegrationOidcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IntegrationOidcArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IntegrationOidcArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationOidcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationOidcArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var integrationOidcResource = new Pulumi.IntegrationOidc("integrationOidcResource", new()
{
Issuer = "string",
MachineUserId = "string",
ClaimCondition = "string",
EndUserEmailExpression = "string",
JwksUri = "string",
Name = "string",
Status = "string",
});
example, err := formal.NewIntegrationOidc(ctx, "integrationOidcResource", &formal.IntegrationOidcArgs{
Issuer: pulumi.String("string"),
MachineUserId: pulumi.String("string"),
ClaimCondition: pulumi.String("string"),
EndUserEmailExpression: pulumi.String("string"),
JwksUri: pulumi.String("string"),
Name: pulumi.String("string"),
Status: pulumi.String("string"),
})
resource "formal_integration_oidc" "integrationOidcResource" {
lifecycle {
create_before_destroy = true
}
issuer = "string"
machine_user_id = "string"
claim_condition = "string"
end_user_email_expression = "string"
jwks_uri = "string"
name = "string"
status = "string"
}
var integrationOidcResource = new IntegrationOidc("integrationOidcResource", IntegrationOidcArgs.builder()
.issuer("string")
.machineUserId("string")
.claimCondition("string")
.endUserEmailExpression("string")
.jwksUri("string")
.name("string")
.status("string")
.build());
integration_oidc_resource = formal.IntegrationOidc("integrationOidcResource",
issuer="string",
machine_user_id="string",
claim_condition="string",
end_user_email_expression="string",
jwks_uri="string",
name="string",
status="string")
const integrationOidcResource = new formal.IntegrationOidc("integrationOidcResource", {
issuer: "string",
machineUserId: "string",
claimCondition: "string",
endUserEmailExpression: "string",
jwksUri: "string",
name: "string",
status: "string",
});
type: formal:IntegrationOidc
properties:
claimCondition: string
endUserEmailExpression: string
issuer: string
jwksUri: string
machineUserId: string
name: string
status: string
IntegrationOidc Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IntegrationOidc resource accepts the following input properties:
- Issuer string
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - Machine
User stringId - ID of the Formal machine user that authenticated OIDC tokens map to.
- Claim
Condition string - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - End
User stringEmail Expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - Jwks
Uri string - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- Name string
- Friendly name for the OIDC integration. Must be unique within the organization.
- Status string
- Integration status. Accepted values are
activeanddraft. Draft disables authentication.
- Issuer string
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - Machine
User stringId - ID of the Formal machine user that authenticated OIDC tokens map to.
- Claim
Condition string - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - End
User stringEmail Expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - Jwks
Uri string - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- Name string
- Friendly name for the OIDC integration. Must be unique within the organization.
- Status string
- Integration status. Accepted values are
activeanddraft. Draft disables authentication.
- issuer string
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - machine_
user_ stringid - ID of the Formal machine user that authenticated OIDC tokens map to.
- claim_
condition string - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - end_
user_ stringemail_ expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - jwks_
uri string - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- name string
- Friendly name for the OIDC integration. Must be unique within the organization.
- status string
- Integration status. Accepted values are
activeanddraft. Draft disables authentication.
- issuer String
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - machine
User StringId - ID of the Formal machine user that authenticated OIDC tokens map to.
- claim
Condition String - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - end
User StringEmail Expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - jwks
Uri String - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- name String
- Friendly name for the OIDC integration. Must be unique within the organization.
- status String
- Integration status. Accepted values are
activeanddraft. Draft disables authentication.
- issuer string
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - machine
User stringId - ID of the Formal machine user that authenticated OIDC tokens map to.
- claim
Condition string - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - end
User stringEmail Expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - jwks
Uri string - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- name string
- Friendly name for the OIDC integration. Must be unique within the organization.
- status string
- Integration status. Accepted values are
activeanddraft. Draft disables authentication.
- issuer str
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - machine_
user_ strid - ID of the Formal machine user that authenticated OIDC tokens map to.
- claim_
condition str - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - end_
user_ stremail_ expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - jwks_
uri str - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- name str
- Friendly name for the OIDC integration. Must be unique within the organization.
- status str
- Integration status. Accepted values are
activeanddraft. Draft disables authentication.
- issuer String
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - machine
User StringId - ID of the Formal machine user that authenticated OIDC tokens map to.
- claim
Condition String - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - end
User StringEmail Expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - jwks
Uri String - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- name String
- Friendly name for the OIDC integration. Must be unique within the organization.
- status String
- Integration status. Accepted values are
activeanddraft. Draft disables authentication.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationOidc resource produces the following output properties:
- audience string
- The Formal audience value that tokens must present:
oidc.formal.ai/{id}. - created_
at string - When the integration was created.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at string - When the integration was last updated.
- audience str
- The Formal audience value that tokens must present:
oidc.formal.ai/{id}. - created_
at str - When the integration was created.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - When the integration was last updated.
Look up Existing IntegrationOidc Resource
Get an existing IntegrationOidc resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IntegrationOidcState, opts?: CustomResourceOptions): IntegrationOidc@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
audience: Optional[str] = None,
claim_condition: Optional[str] = None,
created_at: Optional[str] = None,
end_user_email_expression: Optional[str] = None,
issuer: Optional[str] = None,
jwks_uri: Optional[str] = None,
machine_user_id: Optional[str] = None,
name: Optional[str] = None,
status: Optional[str] = None,
updated_at: Optional[str] = None) -> IntegrationOidcfunc GetIntegrationOidc(ctx *Context, name string, id IDInput, state *IntegrationOidcState, opts ...ResourceOption) (*IntegrationOidc, error)public static IntegrationOidc Get(string name, Input<string> id, IntegrationOidcState? state, CustomResourceOptions? opts = null)public static IntegrationOidc get(String name, Output<String> id, IntegrationOidcState state, CustomResourceOptions options)resources: _: type: formal:IntegrationOidc get: id: ${id}import {
to = formal_integration_oidc.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Audience string
- The Formal audience value that tokens must present:
oidc.formal.ai/{id}. - Claim
Condition string - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - Created
At string - When the integration was created.
- End
User stringEmail Expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - Issuer string
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - Jwks
Uri string - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- Machine
User stringId - ID of the Formal machine user that authenticated OIDC tokens map to.
- Name string
- Friendly name for the OIDC integration. Must be unique within the organization.
- Status string
- Integration status. Accepted values are
activeanddraft. Draft disables authentication. - Updated
At string - When the integration was last updated.
- Audience string
- The Formal audience value that tokens must present:
oidc.formal.ai/{id}. - Claim
Condition string - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - Created
At string - When the integration was created.
- End
User stringEmail Expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - Issuer string
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - Jwks
Uri string - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- Machine
User stringId - ID of the Formal machine user that authenticated OIDC tokens map to.
- Name string
- Friendly name for the OIDC integration. Must be unique within the organization.
- Status string
- Integration status. Accepted values are
activeanddraft. Draft disables authentication. - Updated
At string - When the integration was last updated.
- audience string
- The Formal audience value that tokens must present:
oidc.formal.ai/{id}. - claim_
condition string - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - created_
at string - When the integration was created.
- end_
user_ stringemail_ expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - issuer string
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - jwks_
uri string - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- machine_
user_ stringid - ID of the Formal machine user that authenticated OIDC tokens map to.
- name string
- Friendly name for the OIDC integration. Must be unique within the organization.
- status string
- Integration status. Accepted values are
activeanddraft. Draft disables authentication. - updated_
at string - When the integration was last updated.
- audience String
- The Formal audience value that tokens must present:
oidc.formal.ai/{id}. - claim
Condition String - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - created
At String - When the integration was created.
- end
User StringEmail Expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - issuer String
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - jwks
Uri String - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- machine
User StringId - ID of the Formal machine user that authenticated OIDC tokens map to.
- name String
- Friendly name for the OIDC integration. Must be unique within the organization.
- status String
- Integration status. Accepted values are
activeanddraft. Draft disables authentication. - updated
At String - When the integration was last updated.
- audience string
- The Formal audience value that tokens must present:
oidc.formal.ai/{id}. - claim
Condition string - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - created
At string - When the integration was created.
- end
User stringEmail Expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - issuer string
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - jwks
Uri string - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- machine
User stringId - ID of the Formal machine user that authenticated OIDC tokens map to.
- name string
- Friendly name for the OIDC integration. Must be unique within the organization.
- status string
- Integration status. Accepted values are
activeanddraft. Draft disables authentication. - updated
At string - When the integration was last updated.
- audience str
- The Formal audience value that tokens must present:
oidc.formal.ai/{id}. - claim_
condition str - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - created_
at str - When the integration was created.
- end_
user_ stremail_ expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - issuer str
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - jwks_
uri str - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- machine_
user_ strid - ID of the Formal machine user that authenticated OIDC tokens map to.
- name str
- Friendly name for the OIDC integration. Must be unique within the organization.
- status str
- Integration status. Accepted values are
activeanddraft. Draft disables authentication. - updated_
at str - When the integration was last updated.
- audience String
- The Formal audience value that tokens must present:
oidc.formal.ai/{id}. - claim
Condition String - CEL expression evaluated against verified token claims. Must return a boolean. Defaults to
true. - created
At String - When the integration was created.
- end
User StringEmail Expression - Optional CEL expression over verified token claims that must evaluate to a string email. When set, federation mint resolves a Formal human by case-insensitive email. Leave unset for machine-only trusts. Examples:
claims.owner_email(Cursor);claims.sub.split('/').last()(AWSReservedSSO session name when the session name is an email). - issuer String
- OIDC issuer URL. Must be absolute HTTPS (path preserved). In local
ENV=dev, the configured fake OIDC provider origin may use HTTP. - jwks
Uri String - Optional JWKS URI. When unset, Formal uses OIDC Discovery from the issuer. Must be absolute HTTPS when set.
- machine
User StringId - ID of the Formal machine user that authenticated OIDC tokens map to.
- name String
- Friendly name for the OIDC integration. Must be unique within the organization.
- status String
- Integration status. Accepted values are
activeanddraft. Draft disables authentication. - updated
At String - When the integration was last updated.
Package Details
- Repository
- formal formalco/pulumi-formal
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
formalTerraform Provider.
published on Saturday, Aug 8, 2026 by Formal