> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# nebius_iam_v1_federation data source

#### Retrieving the Data Source

This data source can be retrieved by one of ID or name.

##### Retrieve by ID

To retrieve by ID, fill in only the `id` field:

```hcl theme={null}
data ... {
    id = "your-ID"
}
```

##### Retrieve by Name

To retrieve by name, fill in only the `name` and `parent_id` fields:

```hcl theme={null}
data ... {
    name      = "your name"
    parent_id = "data-source-parent-id"
}
```

## Schema

### Optional

* `id` (String) Identifier for the resource, unique for its resource type.
* `name` (String) Human readable name for the resource.
* `parent_id` (String) Identifier of the parent resource to which the resource belongs.

### Read-Only

* `active` (Boolean, Deprecated) Specifies if the federation in active state
* `created_at` (String) :

  Timestamp indicating when the resource was created.

  A string representing a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ` or `YYYY-MM-DDTHH:MM:SS.SSS±HH:MM`
* `labels` (Map of String) Labels associated with the resource.
* `metadata` (Attributes) :

  Federation resource metadata.

  #### Inner value description

  Common resource metadata. (see [below for nested schema](#nestedatt--metadata))
* `resource_version` (Number) :

  Version of the resource for safe concurrent modifications and consistent reads.
  Positive and monotonically increases on each resource spec change (but *not* on each change of the
  resource's container(s) or status).
  Service allows zero value or current.
* `saml_settings` (Attributes) SAML federation settings. (see [below for nested schema](#nestedatt--saml_settings))
* `status` (Attributes) Federation resource status. (see [below for nested schema](#nestedatt--status))
* `updated_at` (String) :

  Timestamp indicating when the resource was last updated.

  A string representing a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ` or `YYYY-MM-DDTHH:MM:SS.SSS±HH:MM`
* `user_account_auto_creation` (Boolean) :

  If false, users with access to the federation cannot sign in automatically
  and user accounts for them must be pre-created by a federation administrator.

<a id="nestedatt--metadata" />

### Nested Schema for `metadata`

<a id="nestedatt--saml_settings" />

### Nested Schema for `saml_settings`

Read-Only:

* `force_authn` (Boolean) if "true", the identity provider MUST authenticate the presenter directly rather than rely on a previous security context.
* `idp_issuer` (String) The unique identifier of the SAML Identity Provider. It usually matches the entityID from the IdP metadata.
* `sso_url` (String) Identity Provider’s Single Sign-On endpoint. This is the URL where the user is redirected to start SAML login.

<a id="nestedatt--status" />

### Nested Schema for `status`

Read-Only:

* `certificates_count` (Number) Number of certificates attached to the SAML federation for verifying SAML responses.
* `state` (String) :

  Federation state.

  #### Supported values

  Possible values:

  * `UNSPECIFIED`
  * `ACTIVE`
  * `INACTIVE`
* `users_count` (Number) Number of users registered in the IAM federation. This value may differ from the number of users in the identity provider.
