Aws Secrets#

Utility functionality used to grab secrets from AWS Secrets Manager.

exception secrets_managers.aws_secrets.SecretException#

Bases: Exception

Overarching secret handler class.

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

secrets_managers.aws_secrets.get_secret(secret_name)#

Gets secret info from a folder path.

Parameters:

secret_name (str) – name of secret

Returns:

Secret Token

Return type:

Union[str, int, float, bool, None, List, Dict]