class documentation
One or more secrets that are fetched and replaced together, cached as a single parsed value.
| Method | __init__ |
Create an entry for the given secrets. |
| Instance Variable | failed |
Undocumented |
| Instance Variable | fetched |
Undocumented |
| Instance Variable | in |
Undocumented |
| Instance Variable | lock |
Undocumented |
| Instance Variable | parse |
Undocumented |
| Instance Variable | refs |
Undocumented |
| Instance Variable | value |
Undocumented |
| Instance Variable | version |
Undocumented |
def __init__(self, refs:
Sequence[ _SecretRef], parse: Callable[ [ list[ SecretValue]], _T]):
(source)
¶
Create an entry for the given secrets.
refs are distinct secret IDs, and refs[0].secret_type is used as
the secret_type metric label. parse is called on newly fetched
secrets (in refs order) to produce the cached value, and should raise
InvalidResponseError if they're invalid.