scalr_assume_service_account_policy

Data Source: scalr_assume_service_account_policy

Retrieves information about a Scalr Assume Service Account Policy.

Schema

Required

  • service_account_id (String) The ID of the service account this policy belongs to.

Optional

  • id (String) The ID of the policy.
  • name (String) The name of the policy.
  • provider_id (String) The ID of the workload identity provider.

Read-Only

  • claim_conditions (Block List) Conditions that must be met for the policy to be assumed. (see below for nested schema)
  • created_at (String) When the policy was created.
  • created_by_email (String) Email of the user who created the policy.
  • maximum_session_duration (Number) Maximum session duration in seconds.

Nested Schema for claim_conditions

Read-Only:

  • claim (String) The claim to match against.
  • operator (String) The operator to use for matching ('eq', 'like', 'startswith', or 'endswith').
  • value (String) The value to match against.