scalr_assume_service_account_policy
Resource: scalr_assume_service_account_policy
Manages an Assume Service Account Policy in Scalr.
Schema
Required
name
(String) The name of the Assume Service Account Policy.provider_id
(String) The ID of the Workload Identity Provider associated with this policy.service_account_id
(String) The ID of the Service Account to which this policy is attached.
Optional
claim_condition
(Block Set) A set of claim conditions for the policy. (see below for nested schema)maximum_session_duration
(Number) The maximum session duration in seconds for the assumed role.
Read-Only
id
(String) The ID of the Assume Service Account Policy.
Nested Schema for claim_condition
claim_condition
Required:
claim
(String) The claim to match.value
(String) The value to match for the claim.
Optional:
operator
(String) The operator to use for matching the claim value. Must be one of: 'eq', 'like', 'startswith', or 'endswith'.
Updated 3 days ago