Class: Aws::DataSync::Types::Credentials

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-datasync/types.rb

Overview

The credentials that provide DataSync Discovery read access to your on-premises storage system’s management interface.

DataSync Discovery stores these credentials in [Secrets Manager]. For more information, see [Accessing your on-premises storage system].

[1]: docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html [2]: docs.aws.amazon.com/datasync/latest/userguide/discovery-configure-storage.html

Constant Summary collapse

SENSITIVE =
[:username, :password]

Instance Attribute Summary collapse

Instance Attribute Details

#passwordString

Specifies the password for your storage system’s management interface.

Returns:

  • (String)


1411
1412
1413
1414
1415
1416
# File 'lib/aws-sdk-datasync/types.rb', line 1411

class Credentials < Struct.new(
  :username,
  :password)
  SENSITIVE = [:username, :password]
  include Aws::Structure
end

#usernameString

Specifies the user name for your storage system’s management interface.

Returns:

  • (String)


1411
1412
1413
1414
1415
1416
# File 'lib/aws-sdk-datasync/types.rb', line 1411

class Credentials < Struct.new(
  :username,
  :password)
  SENSITIVE = [:username, :password]
  include Aws::Structure
end