Skip to main content
Version: 8.3

system.secrets.getSecrets

New in 8.3.1

This function is used in Python Scripting.

Description​

Returns a list of objects representing all secrets available for the named Secret Provider. Each list entry includes the name of the secret.

Syntax​

system.secrets.getSecrets(providerName)

Parameters​

TypeParameterDescription
StringproviderNameThe name of the Secret Provider to fetch secrets from.

Returns​

List - A list of SecretMeta instances that represent all secret names.

Scope​

Gateway, Vision Client, Perspective Session

Code Examples​

Code Snippet
secrets = system.secrets.getSecrets("Provider1")