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_date ⇒ Time

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

Returns:

  • (Time)


11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11818

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_date ⇒ Time

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

Returns:

  • (Time)


11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11818

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_alias ⇒ String

For Bedrock API keys and CloudWatch Logs 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)


11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11818

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_secret ⇒ String

For Bedrock API keys and CloudWatch Logs 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)


11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11818

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_name ⇒ String

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

Returns:

  • (String)


11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11818

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_password ⇒ String

The generated password for the service-specific credential.

Returns:

  • (String)


11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11818

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_id ⇒ String

The unique identifier for the service-specific credential.

Returns:

  • (String)


11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11818

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_name ⇒ String

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)


11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11818

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

#status ⇒ String

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)


11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11818

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_name ⇒ String

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

Returns:

  • (String)


11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11818

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