Secret Groups
List Secrets of Secret Group
Clusters
Applications
Models
Artifacts
Prompts
Secret Groups
Model Deployments
Users
Personal Access Tokens
Virtual Accounts
Secret Groups
List Secrets of Secret Group
List Secrets associated with a Secret Group.
GET
/
api
/
svc
/
v1
/
secret-groups
/
{id}
/
secrets
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/secret-groups/{id}/secrets \
--header 'Authorization: Bearer <token>'
[
{
"id": "<string>",
"fqn": "<string>",
"name": "<string>",
"secretGroupId": "<string>",
"value": "<string>",
"createdBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"secretVersions": [
{
"id": "<string>",
"fqn": "<string>",
"value": "<string>",
"version": 123,
"secret": {},
"secretId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"activeDeploymentsCount": 123,
"createdBy": "<string>"
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Secret Id of the secret group.
Response
200
application/json
Returns the secrets associated with a secret group.
The response is of type object[]
.
Was this page helpful?
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/secret-groups/{id}/secrets \
--header 'Authorization: Bearer <token>'
[
{
"id": "<string>",
"fqn": "<string>",
"name": "<string>",
"secretGroupId": "<string>",
"value": "<string>",
"createdBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"secretVersions": [
{
"id": "<string>",
"fqn": "<string>",
"value": "<string>",
"version": 123,
"secret": {},
"secretId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"activeDeploymentsCount": 123,
"createdBy": "<string>"
}
]