Viewing Tenants

The Tenant is the entity that uses Oracle Compute Cloud Service resources. Tenants must be registered by the Oracle Cloud Administrator before they can start using the service. For more information on how to obtain your tenant user information, see Using Oracle Compute Cloud Service.

discover tenant

This command enables you to list existing tenants in a specified container.

Syntax

oracle-compute discover tenant container

Parameters and Options

The following parameters are specific to this command. You can also use the common options described in General Command Options.

Parameter Description
container Hierarchical name-space for a tenant. For example, /

Example

$ oracle-compute discover tenant /

Sample Output

$ oracle-compute discover tenant /
entry
/mytenant
.

get tenant

This command enables you to retrieve information for a specific tenant.

Syntax

oracle-compute get tenant name

Parameters and Options

The following parameters are specific to this command. You can also use the common options described in General Command Options.

Parameter Description
name A unique hierarchical name for a tenant. For example, /mytenant.

Example

$ oracle-compute get tenant /mytenant

Sample Output

$oracle-compute get tenant /mytenant

uri                            name        description    email                   public_pkey    private_pkey
https://api/tenant/mytenant    mytenant    Tenant User    mytenant@example.com    0x1415         0x1414

list tenant

This command enables you to display information about all tenants in a specific container.

Syntax

oracle-compute list tenant container

Parameters and Options

The following parameters are specific to this command. You can also use the common options described in General Command Options.

Parameter Description
container Hierarchical name-space for a tenant. For example, /

Example

$ oracle-compute list tenant /demo

Sample Output

$ oracle-compute list tenant /mytenant 
uri                          name       description   email           public_pkey  private_pkey  
https://api/tenant/mytenant  mytenant   My Tenant      mytenant@e.com 0x1016        0x1015