Create an org secret
Authorization
apiKey API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Required on an aws secret, rejected on any other type. The value is then the secret access key
^AKIA[A-Z0-9]{16}$Segments of lowercase letters, digits, - and _, joined by /. Every segment but the last names a folder, as in payments/live/key
^[a-z0-9][a-z0-9_-]*(/[a-z0-9][a-z0-9_-]*)*$1 <= length <= 256Value in
- "org"
- "project"
- "personal"
"generic"Value in
- "generic"
- "git"
- "aws"
- "basic"
Required on a basic secret, rejected on any other type. The value is then the password
^[^:\x00-\x1f\x7f-\x9f]+$length <= 2561 <= lengthResponse Body
application/json
application/problem+json
curl -X POST "https://example.com/v1/orgs/string/secrets" \ -H "Content-Type: application/json" \ -d '{ "key": "string", "scope": "org", "type": "generic", "value": "string" }'{ "secret": { "aws_access_key_id": "string", "created_at": "string", "id": "string", "key": "string", "owner_user_id": "string", "scope": "org", "type": "generic", "updated_at": "string", "username": "string" }}{ "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}Remove every unused version of a project template PUT
Remove every unused version of this template in one call. - A version is unused when no tag points at it and no sandbox records it. A paused sandbox and a fork both count. - The state of a version is not a test: an unused active version goes the same way as an unused archived one. - Send `dry_run: true` to read back what a prune would remove, and remove nothing. - A prune frees no storage on its own. The images are reclaimed later, once no version and no sandbox references them. Requires the project admin role.
Delete an org secret DELETE
Next Page