cURL
curl --request POST \ --url https://eu1.api.matillion.com/dpc/v1/secrets/{agentId}/secret-value \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "secret": { "name": "my-secret", "key": "<string>", "type": "PASSWORD", "value": "<unknown>" } } '
{ "resolver_ref": "<string>", "vaultSecretName": "<string>" }
Creates a new secret value, which is encrypted in transit using the certificate of the provided Agent, then decrypted by the Agent and stored in plain-text within the Customer vault.
a valid bearer token
Details of the secret to store in the customer vault.
Show child attributes
Created
Was this page helpful?