POST
/
org
/
{org}
/
secret
curl --request POST \
  --url https://api.cpln.io/org/{org}/secret \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "tags": {},
  "type": "opaque",
  "data": {
    "payload": "<string>",
    "encoding": "plain"
  }
}'
"<any>"

Authorizations

Authorization
string
header
required

Service account key can be used as API keys

Path Parameters

org
string
required

Body

application/json
description
string
Maximum length: 250
tags
object
type
enum<string>
Available options:
opaque,
tls,
gcp,
aws,
ecr,
userpass,
keypair,
azure-sdk,
azure-connector,
docker,
dictionary,
nats-account
data

Response

201
application/json
Secret was created successfully

The response is of type any.