Describe pipeline secret
GET/pipeline-secrets/:secretId
Retrieves the details of the pipeline secret identified by the given secretId
.
Request
Path Parameters
secretId int64required
Secret numeric identifier
Query Parameters
workspaceId int64
Workspace numeric identifier
Responses
- 200
- 400
- 403
OK
- application/json
- Schema
- Example (auto)
Schema
pipelineSecret object
{
"pipelineSecret": {
"id": 0,
"name": "string",
"lastUsed": "2024-07-29T15:51:28.071Z",
"dateCreated": "2024-07-29T15:51:28.071Z",
"lastUpdated": "2024-07-29T15:51:28.071Z"
}
}
Bad request
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
{
"message": "string"
}
Operation not allowed
Authorization: http
name: BearerAuthtype: httpscheme: bearerbearerFormat: jwt
- python
- curl
- java
- r
- javascript
- go
- powershell
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("docs.seqera.io")
payload = ''
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer <token>'
}
conn.request("GET", "/pipeline-secrets/:secretId", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))