Can Apigee generate key pair – private key and public key?

Not applicable

Is it possible on Apigee to create logic to generate key pair – private key and public key? I also need to be able to generate an encrypted key. But the base should be able to create private key first.

0 8 1,120
8 REPLIES 8

Can you explain in more detail what you mean by "create logic to generate key pair"?

Where would this logic run? What are you imagining the user experience would be? Under what circumstances would you want Apigee Edge to generate a key pair? How would it be delivered?

I also need to be able to generate an encrypted key.

Can you explain what you mean by an "encrypted key" ?

I need to generate or create a private and public certificate/key on Apigee. Is this possible?

Hey Junnes,

Did you find out the way to create private an public key through edge?

Hi Vince,

The direction we followed is to generate a keypair in a backend system used by APIGEE.

Basically as a custom implementation, the public key was saved in the Apps custom attribute which was leverage by APIGEE for verifying signature of the request using a java policy.

Hello Harry,

Understood. But I was trying to encrypt my JWT Token and by using an algorithm and I need to generate a public and private key for that. As I'm new to apigee I was meaning to ask how can we create those key in edge clould

Hi Vince,

I am not sure if the out of the box policies can do this, but the scripts or java policies should be able to help you achieve this feature.

Our private/public keypair was generated using backend service (Note: This is direction on our end)

Using a java policy we should be able to import that function to apigee . You can save the generated keypair information in a private KVM (as needed), then later on use it to encrypt your JWT.

Hopefully this helps.

Thanks Harry. Understood.

Not applicable

Using Keygen you have to generate public and private key pair. This is a general concept. Nothing in this is Apigee specific. Once you created you can use the pair in Apigee policies storing in kvm.