STS / Client / exceptions / RegionalSignerUnavailableException

RegionalSignerUnavailableException

class STS.Client.exceptions.RegionalSignerUnavailableException

The workload identity provider has a signer of the requested type, but no signer in the Amazon Web Services Region that you sent the request to can sign it right now. This can happen for the following reasons:

  • The signer isn’t active yet. A newly added signer doesn’t start signing until its scheduled start time. Retry the request after that time.

  • The certificate authority (CA) that the signer uses for GetCertificate can’t issue certificates in this Region, for example because you disabled the CA, it expired, or it doesn’t exist in this Region. Make sure that the signing CA is active and properly configured, or ask your administrator to check its status.

  • The account that owns the workload identity provider for GetCertificate isn’t active. For example, the account is suspended or closed.

Example

try:
  ...
except client.exceptions.RegionalSignerUnavailableException 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 has a signer of the requested type, but no signer in the Amazon Web Services Region that you sent the request to can sign it right now. This can happen for the following reasons:

    • The signer isn’t active yet. A newly added signer doesn’t start signing until its scheduled start time. Retry the request after that time.

    • The certificate authority (CA) that the signer uses for GetCertificate can’t issue certificates in this Region, for example because you disabled the CA, it expired, or it doesn’t exist in this Region. Make sure that the signing CA is active and properly configured, or ask your administrator to check its status.

    • The account that owns the workload identity provider for GetCertificate isn’t active. For example, the account is suspended or closed.

    • 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.