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)


1468
1469
1470
1471
1472
1473
# File 'lib/aws-sdk-datasync/types.rb', line 1468

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)


1468
1469
1470
1471
1472
1473
# File 'lib/aws-sdk-datasync/types.rb', line 1468

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