Secret folder
This commit is contained in:
parent
43ca400917
commit
0dcede9e0f
|
@ -237,9 +237,13 @@ class SecretLoader:
|
||||||
enabled.
|
enabled.
|
||||||
"""
|
"""
|
||||||
solutions_list = []
|
solutions_list = []
|
||||||
solutions_list.append(
|
if self.secret_folder:
|
||||||
f'Write secret to file: \033[1m{DEFAULT_SECRETS_DIRECTORY}/{secret_name.lower()}\033[0m',
|
solutions_list.append(
|
||||||
)
|
f'Write secret to file: \033[1m{self.secret_folder}/{secret_name.lower()}\033[0m',
|
||||||
|
)
|
||||||
|
solutions_list.append(
|
||||||
|
f'Secret folder is located at {self.secret_folder.absolute()}',
|
||||||
|
)
|
||||||
if self.env_key_prefix is not None:
|
if self.env_key_prefix is not None:
|
||||||
solutions_list.append(
|
solutions_list.append(
|
||||||
f'Add environment variable pointing to written secret: \033[1m{self.env_key_prefix}_{secret_name.upper()}\033[0m',
|
f'Add environment variable pointing to written secret: \033[1m{self.env_key_prefix}_{secret_name.upper()}\033[0m',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user