Class Fog::Identity::OpenStack::Real
In: lib/fog/openstack/requests/identity/list_users.rb
lib/fog/openstack/requests/identity/list_ec2_credentials.rb
lib/fog/openstack/requests/identity/get_ec2_credential.rb
lib/fog/openstack/requests/identity/list_tenants.rb
lib/fog/openstack/requests/identity/get_role.rb
lib/fog/openstack/requests/identity/update_tenant.rb
lib/fog/openstack/requests/identity/create_ec2_credential.rb
lib/fog/openstack/requests/identity/list_user_global_roles.rb
lib/fog/openstack/requests/identity/delete_user_role.rb
lib/fog/openstack/requests/identity/create_user.rb
lib/fog/openstack/requests/identity/validate_token.rb
lib/fog/openstack/requests/identity/set_tenant.rb
lib/fog/openstack/requests/identity/get_tenants_by_id.rb
lib/fog/openstack/requests/identity/list_roles_for_user_on_tenant.rb
lib/fog/openstack/requests/identity/delete_user.rb
lib/fog/openstack/requests/identity/list_endpoints_for_token.rb
lib/fog/openstack/requests/identity/update_user.rb
lib/fog/openstack/requests/identity/delete_tenant.rb
lib/fog/openstack/requests/identity/create_tenant.rb
lib/fog/openstack/requests/identity/get_tenants_by_name.rb
lib/fog/openstack/requests/identity/delete_ec2_credential.rb
lib/fog/openstack/requests/identity/add_user_to_tenant.rb
lib/fog/openstack/requests/identity/get_user_by_id.rb
lib/fog/openstack/requests/identity/list_roles.rb
lib/fog/openstack/requests/identity/get_tenant.rb
lib/fog/openstack/requests/identity/remove_user_from_tenant.rb
lib/fog/openstack/requests/identity/check_token.rb
lib/fog/openstack/requests/identity/get_user_by_name.rb
lib/fog/openstack/requests/identity/create_role.rb
lib/fog/openstack/requests/identity/create_user_role.rb
lib/fog/openstack/requests/identity/delete_role.rb
lib/fog/openstack/identity.rb
Parent: Object

Methods

Attributes

current_tenant  [R] 
current_user  [R] 
unscoped_token  [R] 

Public Class methods

Public Instance methods

Create an EC2 credential for a user in a tenant. Requires administrator credentials.

Parameters

  • user_id<~String>: The id of the user to create an EC2 credential for
  • tenant_id<~String>: The id of the tenant to create the credential in

Returns

  • response<~Excon::Response>:
    • body<~Hash>:
      • ‘credential’<~Hash>: Created EC2 credential
        • ‘access’<~String>: The access key
        • ‘secret’<~String>: The secret key
        • ‘user_id’<~String>: The user id
        • ‘tenant_id’<~String>: The tenant id

Destroy an EC2 credential for a user. Requires administrator credentials.

Parameters

  • user_id<~String>: The id of the user to delete the credential for
  • access<~String>: The access key of the credential to destroy

Returns

  • response<~Excon::Response>:

Retrieves an EC2 credential for a user. Requires administrator credentials.

Parameters

  • user_id<~String>: The id of the user to retrieve the credential for
  • access<~String>: The access key of the credential to retrieve

Returns

  • response<~Excon::Response>:
    • body<~Hash>:
      • ‘credential’<~Hash>: The EC2 credential
        • ‘access’<~String>: The access key
        • ‘secret’<~String>: The secret key
        • ‘user_id’<~String>: The user id
        • ‘tenant_id’<~String>: The tenant id

List EC2 credentials for a user. Requires administrator credentials.

Parameters

  • user_id<~String>: The id of the user to retrieve the credential for

Returns

  • response<~Excon::Response>:

[Validate]