capabilities.work

Provision Secret

A 3-step recipe with ZenML. We can help you get access.

Recipe · 3 steps

Provision Secret

with ZenML

Create a scoped secret and confirm it is registered in the secret store.

  1. Read the current authenticated user to anchor ownership context for the secret being created.
  2. Create the secret with the supplied name, scope, and key/value pairs.
  3. List secrets (metadata only) to confirm the new secret is registered.
What you'll need to have ready
  • accessToken: ZenML JWT access token obtained from the login endpoint.
  • secretName: The name to register the secret under.
  • scope: The secret scope, either user or workspace.
  • values: Map of secret key to secret string value.
For your developer

Arazzo workflow zenml:provision-secret, 3 operations: getCurrentUser → createSecret → listSecrets. Specs on APIs.io.