Secrets
Create secret.
It encodes sensitive data and assigns a name.
post/_fabric/{fabric}/_api/kms/secret
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fabricstring required
The name of the fabric.
Request body
Example request
{
"name": "secret_name_1",
"value": "my value"
}Response
Successfully created the secret.
Example response
{
"code": 200,
"result": {
"name": "secret_name_1",
"tenant": "_mm",
"fabric": "_system",
"keyName": "managed_key_1",
"keyId": "I1tcRHpOqEtvOxw9z90WjQ.EmcLClY",
"createdAt": 1689020889736,
"updatedAt": 1689020889736
}
}Changes
No recorded changes to this operation across all 1 revision of this API.