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
headerrequired

Service account key can be used as API keys

Path Parameters

org
string
required

Body

application/json
description
string
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

The response is of type any.