IBMCloud v0.0.1 IBMCloud.IAM View Source

IBM Cloud Identity and Access Management (IAM) API.

Link to this section Summary

Link to this section Functions

Link to this function

build_client(bearer_token, endpoint \\ "https://iam.cloud.ibm.com", adapter \\ nil)

View Source
Link to this function

create_api_key(client, body, opts \\ [])

View Source

Create API Key.

Create an ApiKey

Link to this function

create_policy(client, body, opts \\ [])

View Source

Create an IAM policy.

Create a policy

Link to this function

create_service_id(client, body, opts \\ [])

View Source

Creates a Service ID.

See Create a Service ID for details.

Link to this function

delete_api_key(client, apikey_id, opts \\ [])

View Source

Delete API Key.

Deletes an ApiKey

Link to this function

delete_service_id(client, id, opts \\ [])

View Source

Delete a Service ID.

Deletes a Service ID and associated ApiKeys

Link to this function

get_api_key(client, id, opts \\ [])

View Source

Get an API key.

Get details of an API key

Link to this function

get_policy(client, policy_id, opts \\ [])

View Source

Get an IAM policy.

Retrieve a policy by ID

Link to this function

get_service_id(client, uuid, opts \\ [])

View Source

Get a Service ID.

Get details of a Service ID

Link to this function

list_api_keys(client, opts \\ [])

View Source

List API keys.

Get API keys for a given a service or user IAM ID and account ID

Link to this function

list_policies(client, opts \\ [])

View Source

Get IAM policies.

Get policies by attributes

Link to this function

list_service_ids(client, opts \\ [])

View Source

List Service IDs.

See List Service IDs for details.

Link to this function

stream_service_ids(client, opts \\ [])

View Source

Returns a stream of Service IDs.

See list_service_ids/2.

Link to this function

update_policy(client, policy_id, body, rev, opts \\ [])

View Source

Update an IAM policy.

Update a policy