yandex_cloud v0.3.2 YandexCloud.Auth View Source
Auth requests
Link to this section Summary
Functions
Get IAM-token for using it in requests to YandexCloud. Valid 12 hours
Get IAM-token for using it in requests to YandexCloud. Valid 12 hours
Link to this section Functions
Link to this function
token() View Source
Get IAM-token for using it in requests to YandexCloud. Valid 12 hours.
Example
iex> YandexCloud.Auth.token
{:ok, %{"iamToken" => ""}}
Link to this function
token(map) View Source
Get IAM-token for using it in requests to YandexCloud. Valid 12 hours.
Examples
iex> YandexCloud.Auth.token(%{oauth_token: oauth_token})
{:ok, %{"iamToken" => ""}}