cloudcredential¶
Contents¶
-
Services
-
Messages
- AzureCredentials
- CloudCredential
- Config
- CreateCloudCredentialRequest
- DeleteCloudCredentialRequest
- GetCloudCredentialRequest
- GoogleCredentials
- ListCloudCredentialsRequest
- ListCloudCredentialsResponse
- Provider
- S3Credentials
- UnstructuredCredentials
- UnstructuredCredentials.CredentialDataEntry
- UpdateCloudCredentialRequest
CloudCredentialService¶
CloudCredentialService serves and manages cloud credentials.
GetCloudCredential¶
rpc GetCloudCredential(GetCloudCredentialRequest) CloudCredential
Get API returns the cloud credential details sans the actual credentials.
CreateCloudCredential¶
rpc CreateCloudCredential(CreateCloudCredentialRequest) CloudCredential
Create API creates a set of cloud credentials for a Tenant (Organization).
UpdateCloudCredential¶
rpc UpdateCloudCredential(UpdateCloudCredentialRequest) CloudCredential
Update API updates a cloud credential.
ListCloudCredentials¶
rpc ListCloudCredentials(ListCloudCredentialsRequest) ListCloudCredentialsResponse
(-- api-linter: core::0132::http-body=disabled api-linter: core::0132::http-method=disabled aip.dev/not-precedent: We need to do this because we can't have advance filters as query params. --) List API lists all the cloud credentials for a Tenant (Organization).
DeleteCloudCredential¶
rpc DeleteCloudCredential(DeleteCloudCredentialRequest) .google.protobuf.Empty
Delete API deletes the cloud credentials.
Messages¶
AzureCredentials¶
Azure Credentials.
Field | Type | Description |
---|---|---|
storage_account_name | string | Name of account. |
storage_account_key | string | Key used to connect. |
CloudCredential¶
Resource representing a Cloud Credential.
Field | Type | Description |
---|---|---|
meta | public.portworx.common.v1.Meta | Metadata of the resource. |
config | Config | Desired configuration of the Cloud Credential. |
Config¶
Desired configuration of the Cloud Credential.
Field | Type | Description |
---|---|---|
provider | Provider | Type of cloud credential. |
oneof Credentials.azure_credentials | AzureCredentials | Azure Credentials. |
oneof Credentials.google_credentials | GoogleCredentials | Google Credentials. |
oneof Credentials.s3_credentials | S3Credentials | S3 or S3 compatible credentials. |
oneof Credentials.unstructured_credentials | UnstructuredCredentials | Untructured credentials. |
CreateCloudCredentialRequest¶
Request to create a cloud credential.
Field | Type | Description |
---|---|---|
tenant_id | string | The parent Tenant (Organization) id under which cloud credential will be created. (-- api-linter: core::0133::request-unknown-fields=disabled aip.dev/not-precedent: We need this field for to support creation of the resource in the Tenant (Organization) context. --) |
cloud_credential | CloudCredential | Cloud credential configuration. |
DeleteCloudCredentialRequest¶
Request to delete a cloud credential.
Field | Type | Description |
---|---|---|
id | string | ID of the cloud credential. |
GetCloudCredentialRequest¶
Request to get a cloud credential.
Field | Type | Description |
---|---|---|
id | string | ID of the cloud credential. |
include_config | bool | Specifies option to include configuration details excluding sensitive information. |
GoogleCredentials¶
Google Credentials.
Field | Type | Description |
---|---|---|
project_id | string | Project ID. |
json_key | string | JSON Key used to connect. |
ListCloudCredentialsRequest¶
Request to list the cloud credentials for a Tenant (Organization) or a project.
Field | Type | Description |
---|---|---|
tenant_id | string | Tenant (Organization) ID for which the credentials will be listed. |
pagination | public.portworx.common.v1.PageBasedPaginationRequest | Pagination metadata for this response. |
label_selector | public.portworx.common.v1.Selector | Provides the key in labels and associated values for which cloud credentials need to be listed. |
field_selector | public.portworx.common.v1.Selector | Field selector is used to filter cloud credentials based on the fields in the cloud credential's proto message. |
infra_resource_selector | public.portworx.common.v1.ResourceSelector | Infra_resource_selector is used to filter cloud credentials based on the infra resources associated with the cloud credentials. Supported infra resource filters: PROJECT. |
resp_data | public.portworx.common.v1.RespData | Response data flags for listing cloud credentials. |
sort | public.portworx.common.v1.Sort | Sorting details using which requested list of cloud credentials to be sorted. |
ListCloudCredentialsResponse¶
Response of list cloud credentials.
Field | Type | Description |
---|---|---|
cloud_credentials | repeated CloudCredential | The list of cloud credentials scoped to a Tenant (Organization) or a project. |
pagination | public.portworx.common.v1.PageBasedPaginationResponse | Pagination metadata for this response. (-- api-linter: core::0132::response-unknown-fields=disabled aip.dev/not-precedent: We need this field for pagination. --) |
Provider¶
Provider associated with created credentials.
Field | Type | Description |
---|---|---|
cloud_provider | Provider.Type | Type of cloud credential. |
S3Credentials¶
S3 or S3 compatible credentials.
Field | Type | Description |
---|---|---|
access_key | string | Access key used to connect. |
secret_key | string | Secret key used to connect. |
UnstructuredCredentials¶
Unstructured Credentials.
Field | Type | Description |
---|---|---|
credential_data | map UnstructuredCredentials.CredentialDataEntry | Credentials in key value format. |
UnstructuredCredentials.CredentialDataEntry¶
Field | Type | Description |
---|---|---|
key | string | none |
value | string | none |
UpdateCloudCredentialRequest¶
Request to update a cloud credential.
Field | Type | Description |
---|---|---|
update_mask | google.protobuf.FieldMask | Specifies the field that should be updated to the value specified in cloud_credentials. |
id | string | ID of the cloud credential to be updated. |
cloud_credential | CloudCredential | Desired cloud credential configuration. |
Enums¶
Provider.Type¶
Type of provider.
Name | Number | Description |
---|---|---|
TYPE_UNSPECIFIED | 0 | Type unspecified. |
AZURE | 1 | Azure Cloud. |
2 | Google Cloud. | |
S3COMPATIBLE | 3 | S3 Compatible. |
UNSTRUCTURED | 4 | Unstructured credentials. |