OidcKey#

class OidcKey(alg=None, use=None, kty=None, kid=None, x5_c=None, n=None, e=None, *args, **kwargs)#

Bases: object

JSON Web Key that can be used to verify the signature of tokens issued by IAM.

Parameters:
  • alg (required) – (alg)

  • use (required) – (use)

  • kty (required) – (kty)

  • kid (required) – (kid) Unique identifier of the key.

  • x5_c (required) – (x5_c) x509 certificate chain of the key.

  • n (required) – (n) Modulus for a standard PEM.

  • e (required) – (e) Exponent for a standard PEM.

property alg#
Type:

AlgoType

property e#

Exponent for a standard PEM.

Type:

str

property kid#

Unique identifier of the key.

Type:

str

property kty#
Type:

KeyType

property n#

Modulus for a standard PEM.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property use#
Type:

UseType

property x5_c#

x509 certificate chain of the key.

Type:

str