Credentials are used to unlock protected resources such as applications, containers, and other assets. For more information, see Credentials.
Use to retrieve a list of all existing credentials.
Request completed successfully.
Unauthorized
Forbidden
unexpected error
{- "entries": [
- {
- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "accessKey": {
- "existingSecretName": "string",
- "accessKeyId": "string",
- "secretAccessKey": "string",
- "keyId": 0
}, - "password": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string",
- "keyId": 0
}, - "dockerRegistry": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string",
- "url": "string",
- "keyId": 0
}, - "genericSecret": {
- "existingSecretName": "string",
- "keyValuePairs": [
- {
- "key": "secret-key",
- "value": "my-secret"
}
], - "keyId": 0
}
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": null
}
}
]
}
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
]
}
Use to retrieve a list of S3-compatible access key credentials.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "entries": [
- {
- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "accessKeyId": "string",
- "secretAccessKey": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": null
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
]
}
Use to create an S3-compatible access key credential.
required | object (AssetCreationRequest) |
required | object (AccessKeyCreationSpec) |
Request accepted successfully.
Bad request.
Unauthorized
The specified resource already exists
unexpected error
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "inference": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "accessKeyId": "string",
- "secretAccessKey": "string"
}
}
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "accessKeyId": "string",
- "secretAccessKey": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Use to retrieve the details of an S3-compatible access key credential by id.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "accessKeyId": "string",
- "secretAccessKey": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Use to update the details of an S3-compatible access key credential by id.
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "name": "my-asset"
}
}
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "accessKeyId": "string",
- "secretAccessKey": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Use to delete an S3-compatible access key credential by id.
Accepted.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource was not found.
unexpected error
{- "code": 202,
- "message": "Request has been accepted."
}
Use to retrieve a list of password credentials.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "entries": [
- {
- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": null
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
]
}
Use to create a userid / password credential.
required | object (AssetCreationRequest) |
required | object (PasswordCreationSpec) |
Request accepted successfully.
Bad request.
Unauthorized
The specified resource already exists
unexpected error
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "inference": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string"
}
}
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Use to retrieve the details of a userid / password credential asset by id.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Use to Update the details of a password credential by id.
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "name": "my-asset"
}
}
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Udse to delete a password credential by id.
Accepted.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource was not found.
unexpected error
{- "code": 202,
- "message": "Request has been accepted."
}
Use to retrieve a list of docker registry credentials.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "entries": [
- {
- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string",
- "url": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": null
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
]
}
Use to create a docker registry credential containing userid, password and url.
required | object (AssetCreationRequest) |
required | object (DockerRegistryCreationSpec) |
Request accepted successfully.
Bad request.
Unauthorized
The specified resource already exists
unexpected error
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "inference": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string",
- "url": "string"
}
}
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string",
- "url": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Use to retrieve the details of a docker registry credential by id.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string",
- "url": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Use to updates the details of a docker registry credentials by id.
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "name": "my-asset"
}
}
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "user": "string",
- "password": "string",
- "url": "string",
- "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Use to deletes a docker registry credential by id.
Accepted.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource was not found.
unexpected error
{- "code": 202,
- "message": "Request has been accepted."
}
Retrieve a list of generic-secret assets.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
{- "entries": [
- {
- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "keyValuePairs": [
- {
- "key": "secret-key",
- "value": "my-secret"
}
], - "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": null
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
]
}
Use to create a generic-secret asset.
required | object (AssetCreationRequest) |
required | object (GenericSecretCreationSpec) |
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource already exists
unexpected error
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "inference": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "keyValuePairs": [
- {
- "key": "secret-key",
- "value": "my-secret"
}
]
}
}
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "keyValuePairs": [
- {
- "key": "secret-key",
- "value": "my-secret"
}
], - "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Returns the details of a generic-secret asset, by id.
Request completed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "keyValuePairs": [
- {
- "key": "secret-key",
- "value": "my-secret"
}
], - "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Updates the details of a generic-secret asset, by id.
Request accepted successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "meta": {
- "name": "my-asset"
}
}
{- "meta": {
- "name": "my-asset",
- "scope": "tenant",
- "id": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "kind": "s3",
- "createdBy": "test@run.ai",
- "createdAt": "2023-02-23T14:25:36.707685Z",
- "updatedBy": "test@run.ai",
- "updatedAt": "2023-02-23T14:25:36.707685Z",
- "workloadSupportedTypes": {
- "workspace": false,
- "training": false,
- "distributed": true,
- "distFramework": "TF"
}
}, - "spec": {
- "existingSecretName": "string",
- "keyValuePairs": [
- {
- "key": "secret-key",
- "value": "my-secret"
}
], - "keyId": 0
}, - "usedBy": {
- "workspaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "trainings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "distributed": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "inferences": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-workload-name",
- "status": "string"
}
], - "templates": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "assets": {
- "environment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "toolTypes": [
- "jupyter-notebook"
]
}, - "environments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "compute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}, - "computes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset"
}
], - "datasources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "my-asset",
- "kind": "compute",
- "overrides": {
- "containerPath": "/container/directory"
}
}
]
}
}, - "compliance": {
- "imposed": true,
- "compliance": true,
- "reason": [
- {
- "field": "string",
- "details": "string"
}
]
}, - "status": {
- "status": "Issues found",
- "issues": [
- {
- "scopeId": "string",
- "scopeType": "system",
- "issue": "ReplicationError"
}
], - "message": "string",
- "url": "string"
}, - "clusterInfo": {
- "resources": [
- {
- "name": "password-credential-1"
}
]
}
}
Use to delete a generic-secret asset, by id.
No Content.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource was not found.
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}