yandex_cloud v0.3.2 YandexCloud View Source

Documentation for YandexCloud.

Link to this section Summary

Functions

Get IAM-token for using it in requests to Yandex Cloud API. Valid 12 hours

Link to this section Functions

Get IAM-token for using it in requests to Yandex Cloud API. Valid 12 hours.

Example

iex> YandexCloud.get_iam_token
{:ok, %{"iamToken" => ""}}

iex> YandexCloud.get_iam_token(%{oauth_token: "12345"})
{:ok, %{"iamToken" => ""}}