STS / Client / exceptions / SignerNotConfiguredException

SignerNotConfiguredException

class STS.Client.exceptions.SignerNotConfiguredException

The workload identity provider for the calling session doesn’t have a signer for the type of credential that you requested. To call GetCertificate, the provider must have an X.509 signer. To call GetWebIdentityToken with a TokenType of JWT_SVID, the provider must have a JWT signer. Add a signer of that type to the provider, or ask your administrator to add one, and then retry the request.

Example

try:
  ...
except client.exceptions.SignerNotConfiguredException as e:
  print(e.response)
response

The parsed error response. All exceptions have a top level Error key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.

Syntax

{
    'message': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The workload identity provider for the calling session doesn’t have a signer for the type of credential that you requested. To call GetCertificate, the provider must have an X.509 signer. To call GetWebIdentityToken with a TokenType of JWT_SVID, the provider must have a JWT signer. Add a signer of that type to the provider, or ask your administrator to add one, and then retry the request.

    • message (string) –

    • Error (dict) – Normalized access to common exception attributes.

      • Code (string) – An identifier specifying the exception type.

      • Message (string) – A descriptive message explaining why the exception occured.