Layer7 API Management

Expand all | Collapse all

Unique ID/key generator

Jump to Best Answer
  • 1.  Unique ID/key generator

    Posted 11-10-2016 12:49 PM

    Hey, not sure if this has been asked before, but how can we leverage the unique ID/key generator OTK is using to generate client_ident, client_key, or client_secret? There is a need for us to generate unique values for fields like salt, session key, etc. If so, which existing policies or what new policies we can use or create to achieve this goal. 

     

    Thanks,

    Peter



  • 2.  Re: Unique ID/key generator
    Best Answer

    Posted 11-10-2016 12:58 PM

    Hi peterwuny

     

    If you only need to produce a unique value, would the 'Generate UUID' assertion suffice for your use case?

     

    Generate UUID Assertion - CA API Gateway - 9.1 - CA Technologies Documentation 

     

    Regards,

    Joe   



  • 3.  Re: Unique ID/key generator

    Posted 11-10-2016 10:50 PM

    An alternate way is to generate uuid from mysql,

    select uuid();

     

    you can use a jdbc connection to fetch the uuid value.