Documentation
¶
Overview ¶
Provides helpers for fetching the latest version of app secrets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opt ¶
type Opt func(*opts)
func Types ¶
Types specifies the secret types to request. If not specified, only app secrets are requested.
func WithAppID ¶
WithAppID sets the app ID to use for requests. If not specified, the app ID is derived from the token.
func WithClient ¶
WithClient sets the http.Client to use for requests. If not specified, a default is used.
func WithToken ¶
WithToken sets the token to use for requests. If not specified, a new token is fetched.
func WithVersions ¶
WithVersions sets the secret versions to request.
Click to show internal directories.
Click to hide internal directories.