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

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>:
    • body<~String>: Empty string

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 hash

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

Returns

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

[Validate]