After you have added text strings or files as secrets, you can organize them into logical groups—sets—to simplify management activity and reporting for secrets with attributes in common. You can include both text and files in the same set.
Note: You cannot add folders to Secret Sets.
To add a secret set:
- In the Admin Portal, click Resources, then click Secrets, then click Sets.
- Click Add to create a new set.
- Type a name for the new set, an optional description, and select whether group membership is manual or dynamic.
For manual sets, you can specify permissions for both the set itself and the members of the set. For dynamic sets, you can only specify permissions on the set.
Identify the members of the set.
If you select Manual, click Members, then click Add to search for and select the secrets to add as members.
If set membership is Dynamic, type the SQL statement to execute to identify set members in the Query field. For example, if you want to add a set for the secrets with a name that starts with api, you could type a SQL statement like this:
select id from DataVault where SecretName like 'api%'
For information about changing sets after you have added them, see Modifying sets.