DevOps Project Credential

Get the specified credential of the DevOps project

get/kapis/devops.kubesphere.io/v1alpha2/devops/{devops}/credentials/{credential}

Path parameters

devopsstring required

DevOps project's ID, e.g. project-RRRRAzLBlLEm

credentialstring required

credential's ID, e.g. dockerhub-id

Query parameters

contentstring

Get extra credential content if this query parameter is set. Specifically, there are three types of info in a credential. One is the basic info that must be returned for each query such as name, id, etc. The second one is non-encrypted info such as the username of the username-password type of credential, which returns when the "content" parameter is set to non-empty. The last one is encrypted info, such as the password of the username-password type of credential, which never returns.

Response

ok

create_timestring date-time

Credential's create_time'

creatorstring

Creator's username

descriptionstring

Credential's description'

display_namestring

Credential's display name

domainstring

Credential's domain,In ks we only use the default domain, default '_''

idstring required

Id of Credential, e.g. dockerhub-id

typestring required

Type of Credential, e.g. ssh/kubeconfig

Changes