Update dependencies
This commit is contained in:
@ -4,7 +4,6 @@ Register arguments here.
|
||||
"""
|
||||
|
||||
import logging
|
||||
import textwrap
|
||||
from typing import cast, final, override
|
||||
|
||||
import asyncssh
|
||||
|
||||
@ -32,7 +32,9 @@ class ListSecrets(CommandDispatcher):
|
||||
|
||||
async def list_secrets(self) -> None:
|
||||
"""List secrets."""
|
||||
self.rich_print_line(f"Available secrets for client {self.client.name}", ["bold"], rule=True)
|
||||
self.rich_print_line(
|
||||
f"Available secrets for client {self.client.name}", ["bold"], rule=True
|
||||
)
|
||||
await self.audit(Operation.READ, "Listed available secret names")
|
||||
for secret_name in self.client.secrets:
|
||||
self.print(f" - {secret_name}")
|
||||
|
||||
@ -17,4 +17,6 @@ ERROR_INFO_REMOTE_IP_GONE = (
|
||||
ERROR_GENERIC_ERROR = "An unexpected error occured"
|
||||
ERROR_UNAUTHORIZED = "Denied due to policy or configuration"
|
||||
|
||||
ERROR_REGISTRATION_NOT_ALLOWED = "Received registration command from unauthorized source."
|
||||
ERROR_REGISTRATION_NOT_ALLOWED = (
|
||||
"Received registration command from unauthorized source."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user