Porter CredentialSet File Format 1.0.1

Credential Sets can be defined in either json or yaml. You can use this json schema to validate a credential set file.


The created and modified fields were moved under the CredentialSet status field. They cannot be set manually.


schemaType: CredentialSet
schemaVersion: 1.0.1
name: mycreds
namespace: staging
  team: redteam
  owner: xianglu
  - name: token
      env: GITHUB_TOKEN
  - name: kubeconfig
      path: $HOME/.kube/config
  - name: connStr
      secret: my-connection-string
Field Required Description
schemaType false The type of document.
schemaVersion true The version of the Credential Set schema used in this file.
name true The name of the credential set.
namespace false The namespace in which the credential set is defined. Defaults to the empty (global) namespace.
labels false A set of key-value pairs associated with the credential set.
credentials true A list of credentials and instructions for Porter to resolve the credential value.
credentials.name true The name of the credential as defined in the bundle.
credentials.source true Specifies how the credential should be resolved. Must have only one child property:
secret, value, env, path, or command