Class: Aws::MemoryDB::Types::AuthenticationMode

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb

Overview

Note:

When making an API call, you may pass AuthenticationMode data as a hash:

{
  type: "password", # accepts password
  passwords: ["String"],
}

Denotes the user's authentication properties, such as whether it requires a password to authenticate. Used in output responses.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#passwordsArray<String>

The password(s) used for authentication

Returns:

  • (Array<String>)


152
153
154
155
156
157
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 152

class AuthenticationMode < Struct.new(
  :type,
  :passwords)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Indicates whether the user requires a password to authenticate. All newly-created users require a password.

Returns:

  • (String)


152
153
154
155
156
157
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 152

class AuthenticationMode < Struct.new(
  :type,
  :passwords)
  SENSITIVE = []
  include Aws::Structure
end