Class: Aws::STS::Types::InvalidAttestationDocumentException
- Inherits:
-
Struct
- Object
- Struct
- Aws::STS::Types::InvalidAttestationDocumentException
- Defined in:
- gems/aws-sdk-core/lib/aws-sdk-sts/types.rb
Overview
Amazon Web Services STS can't use the attestation document in the
request. The reason member says why. Correct the attestation
document and then retry the request.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#message ⇒ String
-
#reason ⇒ String
Why Amazon Web Services STS can't use the attestation document.
Instance Attribute Details
#message ⇒ String
2217 2218 2219 2220 2221 2222 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 2217 class InvalidAttestationDocumentException < Struct.new( :message, :reason) SENSITIVE = [] include Aws::Structure end |
#reason ⇒ String
Why Amazon Web Services STS can't use the attestation document. The value is one of the following:
providerNotFound– Amazon Web Services STS has no attestation rules for the calling service, so the calling service can't attest workloads.cannotParse– The document is empty or isn't a single JSON object.tooLarge– The document is longer than 2,048 characters. This reason is also returned when the context assertion built from the document is too large to pass toAssumeRole.invalidKey– A key isn't in a valid format.unexpectedAttestation– The document contains a key that the calling service can't attest.invalidValue– The document has no keys, or a value is empty, isn't of the type that the key expects, or contains characters that aren't allowed.duplicateKey– Two keys are the same when you ignore case. This reason is also returned when the document repeats a key that the workload identity template uses.unresolvedTemplateVariable– The workload identity template uses an attested value that the document doesn't contain.
2217 2218 2219 2220 2221 2222 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 2217 class InvalidAttestationDocumentException < Struct.new( :message, :reason) SENSITIVE = [] include Aws::Structure end |