Skip to main content

Configure IS as Key Manager

This page explains how to configure WSO2 Identity Server as the Key Manager.

Sign in to the Identity Server​

  1. Go to the Admin Portal of API Manager at https://<APIM_HOST>:9443/admin.
  2. Use the default super admin credentials and sign in.

Add New Key Manager​

  1. Go to Key Manager on the left main menu. add_Key_Manager

  2. Click Add New Key Manager and configure Key Manager.

    Click here to see the full list of configurations...
    ConfigurationDescriptionValue
    NameThe name of the authorization server.OBKM
    Display NameA name to display on the UI.OBKM
    DescriptionThe name of the authorization server.(Optional)
    Key Manager TypeThe type of the Key Manager to be selected.Select ObKeyManager
    Well-known-urlThe well-known URL of the authorization server (Key Manager).https://<IS_HOST>:9446/oauth2/token/.well-known/openid-configuration
    IssuerThe issuer that consumes or validates access tokens.https://<IS_HOST>:9446/oauth2/token
    Key Manager Endpoints
    Client Registration EndpointThe endpoint that verifies the identity and obtain profile information of the end-user based on the authentication performed by an authorization server.https://<IS_HOST>:9446/keymanager-operations/dcr/register
    Introspection EndpointThe endpoint that allows authorized protected resources to query the authorization server to determine the set of metadata for a given token that was presented to them by an OAuth Client.https://<IS_HOST>:9446/oauth2/introspect
    Token EndpointThe endpoint that issues the access tokens.https://<IS_HOST>:9446/oauth2/token
    Revoke EndpointThe endpoint that revokes the access tokens.https://<IS_HOST>:9446/oauth2/revoke
    Userinfo EndpointThe endpoint that allows clients to verify the identity of the end-user based on the authentication performed by an authorization server, as well as to obtain basic profile information about the end-user.https://<IS_HOST>:9446/oauth2/userinfo?schema=openid
    Authorize EndpointThe endpoint used to obtain an authorization grant from the resource owner via the user-agent redirection.https://<IS_HOST>:9446/oauth2/authorize
    Scope Management EndpointThe endpoint used to manage the scopes.https://<IS_HOST>:9446/api/identity/oauth2/v1.0/scopes
    Connector Configurations
    UsernameThe username of an admin user who is authorized to connect to the authorization server.
    PasswordThe password corresponding to the latter mentioned admin user who is authorized to connect to the authorization server.
    Claim URIs
    Consumer Key Claim URIThe claim URI for the consumer key.(Optional)
    Scopes Claim URIThe claim URI for the scopes(Optional)
    Grant TypesThe supported grant types. According to your open banking specification, add multiple grant types by adding a grant type press Enter. Add the client_credentials, authorization_code, refresh_token, and urn:ietf:params:oauth:grant-type:jwt-bearer grant types.(Mandatory)
    Certificates
    PEMEither copy and paste the certificate in PEM format or upload the PEM file.(Optional)
    JWKSThe JSON Web Key Set (JWKS) endpoint is a read-only endpoint. This URL returns the Identity Server's public key set in JSON web key set format. This contains the signing key(s) the Relying Party (RP) uses to validate signatures from the Identity Server.https://<IS_HOST>:9446/oauth2/jwks
    Advanced Configurations
    Token GenerationThis enables token generation via the authorization server.(Mandatory)
    Out Of Band ProvisioningThis enables the provisioning of Auth clients that have been created without the use of the Developer Portal, such as previously created Auth clients.(Mandatory)
    Oauth App CreationThis enables the creation of Auth clients.(Mandatory)
    Token Validation MethodThe method used to validate the JWT signature.
    Self Validate JWTThe kid value is used to validate the JWT token signature. If the kid value is not present, gateway_certificate_alias will be used.(Mandatory)
    Use introspectThe JWKS endpoint is used to validate the JWT token signature.-
    Token Handling OptionsThis provides a way to validate the token for this particular authorization server. This is mandatory if the Token Validation Method is introspect.(Optional)
    REFERENCEThe tokens that match a specific regular expression (regEx) are validated. e.g., [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}(Optional)
    JWTThe tokens that match a specific JWT are validated.Select this icon
    CUSTOMThe tokens that match a custom pattern are validated.(Optional)
    Claim MappingsLocal and remote claim mapping.(Optional)
  3. Go to the list of Key Managers and select Resident Key Manager. select_resident_KM

  4. Locate Connector Configurations and provide a username and a password for a user with super admin credentials.

  5. Click Update.

  6. Disable the Resident Key Manager. disable_resident_KM

Was this page helpful?