Skip to main content
client.secrets().listSecretsWithImports() returns the secrets in a folder and the secrets that the folder imports in one array. If an imported secret has the same name as a secret in the folder, the array contains only the folder’s secret.

Parameters

The same options as listSecrets, except includeImports.

Returns

Secret[]
The secrets in the folder, followed by the imported secrets. Each secret has the fields that getSecret returns. An imported secret has no tags, and its createdAt and updatedAt hold the time of the call.