Add a CI secret
Input
Encoding
application/jsonkey
string
Required
No description available.
maxLength: 50 bytesminLength: 1 bytesrepo
stringdid
Required
A decentralized identifier (DID).
value
string
Required
No description available.
maxLength: 4096 bytesminLength: 1 bytesErrors
InvalidRequest
Invalid request parameters RepoNotFound
Repository not found SecretAlreadyExists
A secret with this key already exists. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Add a CI secret",
"errors": [
{
"description": "Invalid request parameters",
"name": "InvalidRequest"
},
{
"description": "Repository not found",
"name": "RepoNotFound"
},
{
"description": "A secret with this key already exists.",
"name": "SecretAlreadyExists"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"key": {
"maxLength": 50,
"minLength": 1,
"type": "string"
},
"repo": {
"format": "did",
"type": "string"
},
"value": {
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
"required": [
"repo",
"key",
"value"
],
"type": "object"
}
},
"type": "procedure"
}