Skip to main content
GET
/
org
/
{org}
/
secret
/
{name}
Get a secret by name
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"
  }
}

Authorizations

Authorization
string
header
required

Service account key can be used as API keys

Path Parameters

org
string
required
name
string
required

Response

Success

id
string
read-only
name
string
Maximum string length: 64
kind
string
read-only
version
integer
read-only
description
string
Maximum string length: 250
tags
object
created
string<date-time>
read-only
lastModified
string<date-time>
read-only
type
enum<string>
Available options:
opaque,
tls,
gcp,
aws,
ecr,
userpass,
keypair,
azure-sdk,
azure-connector,
docker,
dictionary,
nats-account
data