Module: Aws::SecretsManager

Defined in:
lib/aws-sdk-secretsmanager/endpoint_parameters.rb,
lib/aws-sdk-secretsmanager/plugins/endpoints.rb,
lib/aws-sdk-secretsmanager/endpoint_provider.rb,
lib/aws-sdk-secretsmanager/client_api.rb,
lib/aws-sdk-secretsmanager/endpoints.rb,
lib/aws-sdk-secretsmanager/resource.rb,
lib/aws-sdk-secretsmanager/errors.rb,
lib/aws-sdk-secretsmanager/client.rb,
lib/aws-sdk-secretsmanager/types.rb,
lib/aws-sdk-secretsmanager.rb

Overview

This module provides support for AWS Secrets Manager. This module is available in the ‘aws-sdk-secretsmanager` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

secrets_manager = Aws::SecretsManager::Client.new
resp = secrets_manager.batch_get_secret_value(params)

See Client for more information.

# Errors

Errors returned from AWS Secrets Manager are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::SecretsManager::Errors::ServiceError
  # rescues all AWS Secrets Manager API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.108.0'