Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Intertech Services AG
Yandex Identity and Access Management
  • Getting started
  • Step-by-step guides
  • Concepts
  • How to use Yandex Cloud securely
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
    • REST
      • Overview
      • ApiKey
      • IamToken
      • Key
      • Role
      • ServiceAccount
      • UserAccount
      • YandexPassportUserAccount
      • Operation
      • Federation
        • Overview
        • addUserAccounts
        • list
        • listUserAccounts
        • update
        • listOperations
        • create
        • get
        • delete
      • Certificate
      • AccessKey
  • Questions and answers
  1. API reference
  2. REST
  3. Federation
  4. get

Identity and Access Management SAML API, REST: Federation.get

Written by
Yandex Cloud
,
improved by
amatol
  • HTTP request
  • Path parameters
  • Response

Returns the specified federation.

To get the list of available federations, make a list request.

HTTP request

GET https://iam.api.cloud.yandex.net/iam/v1/saml/federations/{federationId}

Path parameters

Parameter Description
federationId

ID of the federation to return. To get the federation ID, make a list request.

The maximum string length in characters is 50.

Response

HTTP Code: 200 - OK

{
  "id": "string",
  "folderId": "string",
  "name": "string",
  "description": "string",
  "createdAt": "string",
  "cookieMaxAge": "string",
  "autoCreateAccountOnLogin": true,
  "issuer": "string",
  "ssoBinding": "string",
  "ssoUrl": "string",
  "securitySettings": {
    "encryptedAssertions": true
  },
  "caseInsensitiveNameIds": true
}

A federation.
For more information, see SAML-compatible identity federations.

Field Description
id string

Required. ID of the federation.

The maximum string length in characters is 50.

folderId string

Required. ID of the folder that the federation belongs to.

The maximum string length in characters is 50.

name string

Required. Name of the federation.

Value must match the regular expression |[a-z][-a-z0-9]{1,61}[a-z0-9].

description string

Description of the federation.

The maximum string length in characters is 256.

createdAt string (date-time)

Creation timestamp.

String in RFC3339 text format. The range of possible values is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

cookieMaxAge string

Browser cookie lifetime in seconds. If the cookie is still valid, the management console authenticates the user immediately and redirects them to the home page.

Acceptable values are 600 seconds to 43200 seconds, inclusive.

autoCreateAccountOnLogin boolean (boolean)

Add new users automatically on successful authentication. The user will get the resource-manager.clouds.member role automatically, but you need to grant other roles to them.

If the value is false, users who aren't added to the cloud can't log in, even if they have authenticated on your server.

issuer string

Required. ID of the IdP server to be used for authentication. The IdP server also responds to IAM with this ID after the user authenticates.

The maximum string length in characters is 8000.

ssoBinding string

Single sign-on endpoint binding type. Most Identity Providers support the POST binding type.

SAML Binding is a mapping of a SAML protocol message onto standard messaging formats and/or communications protocols.

  • POST: HTTP POST binding.
  • REDIRECT: HTTP redirect binding.
  • ARTIFACT: HTTP artifact binding.
ssoUrl string

Required. Single sign-on endpoint URL. Specify the link to the IdP login page here.

The maximum string length in characters is 8000.

securitySettings object

Federation security settings.

Federation security settings.

securitySettings.
encryptedAssertions
boolean (boolean)

Enable encrypted assertions.

caseInsensitiveNameIds boolean (boolean)

Use case insensitive Name IDs.

Was the article helpful?

Language / Region
Yandex project
© 2023 Intertech Services AG
In this article:
  • HTTP request
  • Path parameters
  • Response