Loading the documentation…

Connector secrets

A connector uses secrets for the passwords, tokens and keys its connection needs. For most connectors each value lives in its own field on the connection form; a Connect Anything connector keeps named secrets in a vault. This page explains both, how a stored value behaves from then on, and what to do when the connector reports a missing secret.

Stored values in connection forms

The same rules cover every kind of credential: a database password or certificate, a Snowflake private key and its passphrase, a Microsoft Entra client secret, a secret access key on an S3 or remote file source, a webhook token or signing secret, and a service account key.

When the form asks for a value again

Service account keys (Google connectors)

Several Google sources, such as Google BigQuery, Firestore, Realtime Database and Google Analytics, sign in with a service account key instead of a password or a private key.

Protect a file that holds credentials

Store a secret in the vault

  1. Open the connector and go to its Secrets section. On a custom connector's Connection step, click Manage Secrets to open the Secrets Vault.
  2. Click Add secret and enter a name and a value.
  3. Click Save in the vault. The name and the value are stored together; nothing is stored before you save.
  4. Click Copy reference next to the secret and paste the reference in place of the value in the configuration. The reference has the form {{secret:NAME}}. For a custom connector's configuration, see Configure a custom connector.

The connector then uses the stored value when it tests the connection and when it loads data.

Name a secret after the setting it fills: in a custom connector, the setting's full dotted path, such as auth_token or oauth_credentials.client_secret. Names run up to 200 characters and use letters, digits, underscores and dots, starting with a letter, a digit or an underscore. A value runs up to 8192 characters.

Vault actions

ActionWhat it does
Add secretAdds a name and a value. The secret is stored when you click Save.
ReplaceTypes a new value for a stored secret.
ClearRemoves a secret after you confirm; the confirmation reads "Clear this secret?" and "This cannot be undone.". It is disabled while the configuration still refers to the secret.
Copy referenceCopies the reference ({{secret:NAME}}) that the configuration uses to point at the secret.
Move to SecretsAppears when the configuration holds a value inline: "{path} holds an inline value. Move it to the Secrets panel and reference it as {{secret:name}}?". It stores the value and replaces it with a reference. The configuration change stays unsaved until you save it.

A value that also appears literally in the configuration must be removed there before it can be stored as a secret, and a secret set that is too large is refused before saving.

What a saved value shows

Change or remove a secret

When a secret is missing or refused

Secrets in a connector chat

Who can manage secrets

Duplicates

Questions, answered

Why does the field show Stored password instead of my value?

Because a value is saved for it. Stored values are write-only: a form field shows only Stored password (or the matching kind), the vault shows a mask (------------), and no screen or chat result shows the value itself, to anyone, including you. Keep your own copy when you store it; to change it, use Replace.

If I save without re-typing the password, is it kept?

Yes. Leave the stored value as it is and save; the connection keeps using it. You retype a value only when the form asks you to re-enter it, for example after an identity field changed.

I clicked Replace by mistake. Can I keep the stored value?

Usually yes. Click Keep the stored password, or the matching wording such as Keep the stored key, and the stored value stays. If an identity field changed and the re-entry setting is on, that option is replaced by the re-entry warning, and you must enter the value again.

Which changes make the form ask for a secret again?

Changes to the fields that identify the connection: the host, the database URL, the account, the username, or a file source's endpoint, region, bucket or access key ID. The form clears the stored value only when Require re-entering connector secrets after a host change is on in System settings; the setting is off by default. Changing only the port does not trigger this. File sources check the server identity on every save, whatever the setting.

How do I replace a stored vault secret?

Open the connector's Secrets section, click Replace beside the secret, type the new value and save. The connector uses the new value from then on. If the connection keeps a changeover window, the old value stays accepted until you stop it; see Webhook and RabbitMQ.

Why is Clear disabled on a secret?

Because the configuration still refers to the secret. Update the configuration to stop using the name, save, then click Clear.

Can I copy a stored secret into another tool?

Not the value, because a stored value cannot be read. The copy control appears only while a new, unsaved value is in the box. In the vault, Copy reference copies the {{secret:NAME}} text that points at the secret, not the secret itself.

What does Generate do next to a secret field?

It creates a value for you. Click it and the field fills with a new value, ready to copy to the service that must present it, for example a webhook sender, and you save the connection afterwards. Once saved, the value is never shown again.

What happens to secrets when I duplicate a connector?

The copy keeps the connection's stored password but none of the vault secrets, and its vault starts empty. Store the values again on the copy.

The connector agent asks me to store a secret. Where do I put it?

In the connector's Secrets section. On a custom connector, Manage Secrets opens the Secrets Vault; for the connector end to end, see Connect Anything (custom connector). Store the value there and send the next message; the chat waits until you do. The chat does not take the value itself.

I pasted a credential into the chat. Can anyone still read it there?

No. The value is moved into the vault, erased from the stored conversation, and replaced with a <redacted:NAME> marker. The marker is not the value and cannot be used as one.

I can open the vault but cannot add or remove secrets. Why?

You have view-only access. Reading secret names needs a view permission; setting and deleting them needs Create/Edit Lake Objects. Ask your administrator to add it to your role. See Who can do what in the Lake.