You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IAM::SigningCertificate
- Inherits:
-
Resources::Resource
- Object
- Resources::Resource
- Aws::IAM::SigningCertificate
- Defined in:
- (unknown)
Instance Attribute Summary collapse
-
#certificate_body ⇒ String
readonly
The contents of the signing certificate.
-
#certificate_id ⇒ String
readonly
The ID for the signing certificate.
-
#id ⇒ String
readonly
-
#status ⇒ String
readonly
The status of the signing certificate.
-
#upload_date ⇒ Time
readonly
The date when the signing certificate was uploaded.
-
#user_name ⇒ String
readonly
Attributes inherited from Resources::Resource
Instance Method Summary collapse
-
#activate ⇒ Struct
Changes the status of the specified user signing certificate from active to disabled, or vice versa.
-
#deactivate ⇒ Struct
Changes the status of the specified user signing certificate from active to disabled, or vice versa.
-
#delete ⇒ Struct
Deletes a signing certificate associated with the specified IAM user.
If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request.
-
#initialize ⇒ Object
constructor
-
#user ⇒ User
Methods inherited from Resources::Resource
add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until
Methods included from Resources::OperationMethods
#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations
Constructor Details
#initialize(user_name, id, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object
Instance Attribute Details
#certificate_body ⇒ String (readonly)
The contents of the signing certificate.
#certificate_id ⇒ String (readonly)
The ID for the signing certificate.
#id ⇒ String (readonly)
#status ⇒ String (readonly)
The status of the signing certificate. Active
means that the key is
valid for API calls, while Inactive
means it is not.
Possible values:
- Active
- Inactive
#upload_date ⇒ Time (readonly)
The date when the signing certificate was uploaded.
#user_name ⇒ String (readonly)
Instance Method Details
#activate ⇒ Struct
Changes the status of the specified user signing certificate from active to disabled, or vice versa. This operation can be used to disable an IAM user's signing certificate as part of a certificate rotation work flow.
If the UserName
field is not specified, the user name is determined implicitly based on the AWS access key ID used to sign the request. This operation works for access keys under the AWS account. Consequently, you can use this operation to manage AWS account root user credentials even if the AWS account has no associated users.
#deactivate ⇒ Struct
Changes the status of the specified user signing certificate from active to disabled, or vice versa. This operation can be used to disable an IAM user's signing certificate as part of a certificate rotation work flow.
If the UserName
field is not specified, the user name is determined implicitly based on the AWS access key ID used to sign the request. This operation works for access keys under the AWS account. Consequently, you can use this operation to manage AWS account root user credentials even if the AWS account has no associated users.
#delete ⇒ Struct
Deletes a signing certificate associated with the specified IAM user.
If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. This operation works for access keys under the AWS account. Consequently, you can use this operation to manage AWS account root user credentials even if the AWS account has no associated IAM users.