Class: Aws::IAM::Types::ServiceSpecificCredential

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

Overview

Contains the details of a service-specific credential.

Constant Summary collapse

SENSITIVE =
[:service_password, :service_credential_secret]

Instance Attribute Summary collapse

Instance Attribute Details

#create_dateTime

The date and time, in ISO 8601 date-time format, when the service-specific credential were created.

Returns:

  • (Time)


10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 10187

class ServiceSpecificCredential < Struct.new(
  :create_date,
  :expiration_date,
  :service_name,
  :service_user_name,
  :service_password,
  :service_credential_alias,
  :service_credential_secret,
  :service_specific_credential_id,
  :user_name,
  :status)
  SENSITIVE = [:service_password, :service_credential_secret]
  include Aws::Structure
end

#expiration_dateTime

The date and time when the service specific credential expires. This field is only present for Bedrock API keys that were created with an expiration period.

Returns:

  • (Time)


10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 10187

class ServiceSpecificCredential < Struct.new(
  :create_date,
  :expiration_date,
  :service_name,
  :service_user_name,
  :service_password,
  :service_credential_alias,
  :service_credential_secret,
  :service_specific_credential_id,
  :user_name,
  :status)
  SENSITIVE = [:service_password, :service_credential_secret]
  include Aws::Structure
end

#service_credential_aliasString

For Bedrock API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.

Returns:

  • (String)


10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 10187

class ServiceSpecificCredential < Struct.new(
  :create_date,
  :expiration_date,
  :service_name,
  :service_user_name,
  :service_password,
  :service_credential_alias,
  :service_credential_secret,
  :service_specific_credential_id,
  :user_name,
  :status)
  SENSITIVE = [:service_password, :service_credential_secret]
  include Aws::Structure
end

#service_credential_secretString

For Bedrock API keys, this is the secret portion of the credential that should be used to authenticate API calls. This value is returned only when the credential is created.

Returns:

  • (String)


10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 10187

class ServiceSpecificCredential < Struct.new(
  :create_date,
  :expiration_date,
  :service_name,
  :service_user_name,
  :service_password,
  :service_credential_alias,
  :service_credential_secret,
  :service_specific_credential_id,
  :user_name,
  :status)
  SENSITIVE = [:service_password, :service_credential_secret]
  include Aws::Structure
end

#service_nameString

The name of the service associated with the service-specific credential.

Returns:

  • (String)


10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 10187

class ServiceSpecificCredential < Struct.new(
  :create_date,
  :expiration_date,
  :service_name,
  :service_user_name,
  :service_password,
  :service_credential_alias,
  :service_credential_secret,
  :service_specific_credential_id,
  :user_name,
  :status)
  SENSITIVE = [:service_password, :service_credential_secret]
  include Aws::Structure
end

#service_passwordString

The generated password for the service-specific credential.

Returns:

  • (String)


10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 10187

class ServiceSpecificCredential < Struct.new(
  :create_date,
  :expiration_date,
  :service_name,
  :service_user_name,
  :service_password,
  :service_credential_alias,
  :service_credential_secret,
  :service_specific_credential_id,
  :user_name,
  :status)
  SENSITIVE = [:service_password, :service_credential_secret]
  include Aws::Structure
end

#service_specific_credential_idString

The unique identifier for the service-specific credential.

Returns:

  • (String)


10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 10187

class ServiceSpecificCredential < Struct.new(
  :create_date,
  :expiration_date,
  :service_name,
  :service_user_name,
  :service_password,
  :service_credential_alias,
  :service_credential_secret,
  :service_specific_credential_id,
  :user_name,
  :status)
  SENSITIVE = [:service_password, :service_credential_secret]
  include Aws::Structure
end

#service_user_nameString

The generated user name for the service-specific credential. This value is generated by combining the IAM user's name combined with the ID number of the Amazon Web Services account, as in jane-at-123456789012, for example. This value cannot be configured by the user.

Returns:

  • (String)


10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 10187

class ServiceSpecificCredential < Struct.new(
  :create_date,
  :expiration_date,
  :service_name,
  :service_user_name,
  :service_password,
  :service_credential_alias,
  :service_credential_secret,
  :service_specific_credential_id,
  :user_name,
  :status)
  SENSITIVE = [:service_password, :service_credential_secret]
  include Aws::Structure
end

#statusString

The status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.

Returns:

  • (String)


10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 10187

class ServiceSpecificCredential < Struct.new(
  :create_date,
  :expiration_date,
  :service_name,
  :service_user_name,
  :service_password,
  :service_credential_alias,
  :service_credential_secret,
  :service_specific_credential_id,
  :user_name,
  :status)
  SENSITIVE = [:service_password, :service_credential_secret]
  include Aws::Structure
end

#user_nameString

The name of the IAM user associated with the service-specific credential.

Returns:

  • (String)


10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 10187

class ServiceSpecificCredential < Struct.new(
  :create_date,
  :expiration_date,
  :service_name,
  :service_user_name,
  :service_password,
  :service_credential_alias,
  :service_credential_secret,
  :service_specific_credential_id,
  :user_name,
  :status)
  SENSITIVE = [:service_password, :service_credential_secret]
  include Aws::Structure
end