Openstex v0.3.4 Openstex.Keystone.V2

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!()

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

Functions

get_identity(token, endpoint, tenant)
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!()
get_token(endpoint, username, password)

Generate and return a token.

Api

POST /v2.0/​{tokens}

Example

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