Store secrets while loading YAML.
Definition at line 43 of file loader.py.
◆ __init__()
| None homeassistant.util.yaml.loader.Secrets.__init__ |
( |
|
self, |
|
|
Path |
config_dir |
|
) |
| |
Initialize secrets.
Definition at line 46 of file loader.py.
◆ _load_secret_yaml()
| dict[str, str] homeassistant.util.yaml.loader.Secrets._load_secret_yaml |
( |
|
self, |
|
|
Path |
secret_dir |
|
) |
| |
|
private |
Load the secrets yaml from path.
Definition at line 77 of file loader.py.
◆ get()
| str homeassistant.util.yaml.loader.Secrets.get |
( |
|
self, |
|
|
str |
requester_path, |
|
|
str |
secret |
|
) |
| |
Return the value of a secret.
Definition at line 51 of file loader.py.
◆ config_dir
| homeassistant.util.yaml.loader.Secrets.config_dir |
The documentation for this class was generated from the following file: