Skip to main content
client.dynamic_secrets.get_by_name() fetches a dynamic secret by its name.

Parameters

str
required
The name of the dynamic secret.
str
required
The slug of the project.
str
required
The slug of the environment, such as dev.
str
default:"/"
The path of the folder that the dynamic secret is in.

Returns

DynamicSecret
The dynamic secret, with its id, name, type, TTLs, and provider settings in inputs.