ExAws.SecretsManager v2.0.0 ExAws.SecretsManager View Source
Operations on AWS Secrets Manager
Link to this section Summary
Functions
Cancel rotating a secret
Create a new secret
Delete a secret
Describe a secret
Get random password
Get value of secret
List all versions of a secret
List all secrets
Puts a new encrypted value in a secret
Restore a deleted secret
Configure rotating a secret
Attach a tag to a secret
Remove tags from a secret
Update details of a secret
Modify the staging labels attached to a version of a secret
Link to this section Types
delete_secret_opts() :: [{:recovery_window_in_days, integer()}]
rotate_secret_opts() :: [ client_request_token: binary(), rotation_lambda_arn: binary(), rotation_rules: rotation_rules() ]
rotation_rules() :: [{:automatically_after_days, integer()}]
Link to this section Functions
cancel_rotate_secret(secret_id :: binary()) :: ExAws.Operation.JSON.t()
Cancel rotating a secret
create_secret(opts :: Keyword.t()) :: ExAws.Operation.JSON.t()
Create a new secret
delete_secret(secret_id :: binary(), opts :: delete_secret_opts()) :: ExAws.Operation.JSON.t()
Delete a secret
describe_secret(secret_id :: binary()) :: ExAws.Operation.JSON.t()
Describe a secret
get_random_password(opts :: Keyword.t()) :: ExAws.Operation.JSON.t()
Get random password
get_secret_value(secret_id :: binary(), opts :: get_secret_value_opts()) :: ExAws.Operation.JSON.t()
Get value of secret
list_secret_version_ids( secret_id :: binary(), opts :: list_secret_version_ids_opts() ) :: ExAws.Operation.JSON.t()
List all versions of a secret
list_secrets(opts :: list_secrets_opts()) :: ExAws.Operation.JSON.t()
List all secrets
put_secret_value(secret_id :: binary(), opts :: put_secret_value_opts()) :: ExAws.Operation.JSON.t()
Puts a new encrypted value in a secret
restore_secret(secret_id :: binary()) :: ExAws.Operation.JSON.t()
Restore a deleted secret
rotate_secret(secret_id :: binary(), opts :: rotate_secret_opts()) :: ExAws.Operation.JSON.t()
Configure rotating a secret
tag_resource(secret_id :: binary(), tags :: [tag()]) :: ExAws.Operation.JSON.t()
Attach a tag to a secret
untag_resource(secret_id :: binary(), tag_keys :: [binary()]) :: ExAws.Operation.JSON.t()
Remove tags from a secret
update_secret(secret_id :: binary(), opts :: update_secret_opts()) :: ExAws.Operation.JSON.t()
Update details of a secret
update_secret_version_stage( secret_id :: binary(), opts :: update_secret_version_stage_opts() ) :: ExAws.Operation.JSON.t()
Modify the staging labels attached to a version of a secret