Container Secret
Create a secret alias at the container level
- Allows you to add an alias at container level on an existing secret having higher scope, in order to customize its key.
- You only have to specify a key in the request body
- The system will create a new secret at container level with the same value as the one corresponding to the secret id in the path
- The response body will contain the newly created secret
- Information regarding the aliased_secret will be exposed in the "aliased_secret" field of the newly created secret
- You can't create an alias on an alias
post/container/{containerId}/secret/{secretId}/alias
Request
- Base URLhttps://api.qovery.com
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
containerIdstring uuid required
Container ID
secretIdstring uuid required
Secret ID
Request body
Response
Create secret alias
Example response
{
"aliased_secret": {
"key": "QOVERY_DATABASE_PSQL_NAME"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.