Layer7 API Management

 View Only
  • 1.  Policy Fragment: Standard Policy Template

    Posted Feb 08, 2023 05:45 AM
    Hi,

    In the Layer7 Policy Manager for the Policy Fragment: Standard Policy Template- API Key, how to set the context variable and what value to be given in the expression field.


    Thanks,
    Idaya


  • 2.  RE: Policy Fragment: Standard Policy Template

    Posted Feb 08, 2023 02:48 PM
    What about Manage Stored Passwords.
    You can add your API-Key as a password...for example myapikey
    Taskbar > Tasks > Certificates, Keys and Secrets > Manage Stored Passwords

    After that you can use the context variable ${secpass.myapikey.plaintext} in your policy template.