Managing Trusts
Openstack Administrators should never have the need to directly work with the trusts created.
The cloud-trust is created during the Trilio configuration and further trusts are created as necessary upon creating or modifying a workload.
List Trusts
GET
https://$(tvm_address):8780/v1/$(tenant_id)/trusts
Provides the lists of trusts for the given Tenant.
Path Parameters
Name | Type | Description |
---|---|---|
tvm_name | string | IP or FQDN of Trilio Service |
tenant_id | string | ID of the Tenant / Project to fetch the trusts from |
Query Parameters
Name | Type | Description |
---|---|---|
is_cloud_admin | boolean | true/false |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | project to run the authentication against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Create Trust
POST
https://$(tvm_address):8780/v1/$(tenant_id)/trusts
Creates a workload in the provided Tenant/Project with the given details.
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio Service |
tenant_id | string | ID of the Tenant/Project to create the Trust for |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to run the authentication against |
X-Auth-Token | string | Authentication token to use |
Content-Type | string | application/json |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Body Format
Show Trust
GET
https://$(tvm_address):8780/v1/$(tenant_id)/trusts/<trust_id>
Shows all details of a specified trust
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio Service |
tenant_id | string | ID of the Project/Tenant where to find the Workload |
workload_id | string | ID of the Workload to show |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to run the authentication against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Delete Trust
DELETE
https://$(tvm_address):8780/v1/$(tenant_id)/trusts/<trust_id>
Deletes the specified trust.
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio Service |
tenant_id | string | ID of the Tenant where to find the Trust in |
trust_id | string | ID of the Trust to delete |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to run the authentication against |
X-Auth-Token | string | Authentication Token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Validate Scheduler Trust
GET
https://$(tvm_address):8780/v1/$(tenant_id)/trusts/validate/<workload_id>
Validates the Trust of a given Workload.
Path Parameters
Name | Type | Description |
---|---|---|
tvm_address | string | IP or FQDN of Trilio Service |
tenant_id | string | ID of the Project/Tenant where to find the Workload |
workload_id | string | ID of the Workload to validate the Trust of |
Headers
Name | Type | Description |
---|---|---|
X-Auth-Project-Id | string | Project to run the authentication against |
X-Auth-Token | string | Authentication token to use |
Accept | string | application/json |
User-Agent | string | python-workloadmgrclient |
Last updated