Openstex v0.4.0 Openstex.Keystone.V2 View Source

Helper functions to assist in building queries for openstack compatible keystone apis (version 2.0).

Example

Openstex.Keystone.V2.get_token(endpoint, username, password) |> Client.request!()

Link to this section Summary

Functions

Get various details about the identity access including token information, services information (service catalogue), user information, trust information and metadata

Generate and return a token

Link to this section Functions

Link to this function get_identity(token, endpoint, tenant) View Source
get_identity(String.t(), String.t(), Keyword.t()) ::
  HTTPipe.Conn.t() |
  no_return()

Get various details about the identity access including token information, services information (service catalogue), user information, trust information and metadata.

Api

POST /v2.0/​{tokens}

Example

Openstex.Keystone.V2.get_identity(token, endpoint, [tenant_id: "tenant_id"]) |> Client.request!()
Link to this function get_token(endpoint, username, password) View Source
get_token(String.t(), String.t(), String.t()) :: HTTPipe.Conn.t()

Generate and return a token.

Api

POST /v2.0/​{tokens}

Example

Openstex.Keystone.V2.get_token(endpoint, username, password) |> Client.request!()