Configure Accounts to Use a Secret
Overview
Only expression-enabled SnapLogic accounts can be used with Secrets Management. When creating or modifying an account, enter expressions that define how to access the secrets manager. You can use an expression to retrieve any secret stored in your secrets manager. For example, you can retrieve Access Token
, Username
, or Password
.
These steps describe how to configure an account to use secrets.
Steps
Create a new account or search for the account you want to update.
In the field or fields for which you have stored a secret, click the expression button ( ).
With values that correspond with your secrets management configuration, enter an expression that invokes
secrets.read
. A call tosecrets.read
can retrieve the following information:The
alias
or configuration name in thesecrets-config.json
file.The namespace in the
secrets-config.json
file.The path to the secret.
The name of the secret.
secrets.read("alias", "/path/to/secret").name-of-secret
Save the account.
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.