cURL
curl --request GET \ --url https://api.cpln.io/org/{org}/secret/{name} \ --header 'Authorization: <api-key>'
{ "id": "<string>", "name": "<string>", "kind": "<string>", "version": 123, "description": "<string>", "tags": {}, "created": "2023-11-07T05:31:56Z", "lastModified": "2023-11-07T05:31:56Z", "links": [ { "rel": "<string>", "href": "<string>" } ], "type": "opaque", "data": { "payload": "<string>", "encoding": "plain" } }
Response will not contain the sensitive parts of the secret. Use “reveal” to get the plaintext
Service account key can be used as API keys
Success
64
Show child attributes
opaque
tls
gcp
aws
userpass
keypair
azure-sdk
docker
dictionary