From 86c01a5fe965b5e299eb8acc7b59ad900c2cd09d Mon Sep 17 00:00:00 2001 From: vicentepinto98 Date: Tue, 10 Oct 2023 09:28:04 +0100 Subject: [PATCH 1/2] Add disclaimer to key flow info --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 776216b40..2aecd4a44 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,11 @@ To configure it, follow this steps: The following instructions assume that you have created a service account and assigned it the necessary permissions, e.g. project.owner. 1. In the Portal, go to the `Service Accounts` tab, choose a `Service Account` and go to `Service Account Keys` to create a key. + - You can create your own RSA key-pair or have the Portal generate one for you. + + **Disclaimer:** as of now, creation of a service account key in the Portal is only available in DEV and QA environments. You can use this flow in these environments by using the options `config.WithWithTokenEndpoint` and `config.WithWithJWKSEndpoint` to configure the corresponding endpoints. + 2. Save the content of the service account key and the corresponding private key by copying them or saving them in a file. **Hint:** If you have generated the RSA key-pair using the Portal, you can save the private key in a PEM encoded file by downloading the service account key as a PEM file and using `openssl storeutl -keys > private.key` to extract the private key from the service account key. From b0fec2a03fe89dbaf855bdb106f9bf6bc345b028 Mon Sep 17 00:00:00 2001 From: vicentepinto98 Date: Tue, 10 Oct 2023 09:46:41 +0100 Subject: [PATCH 2/2] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2aecd4a44..d43f32108 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ To configure it, follow this steps: - You can create your own RSA key-pair or have the Portal generate one for you. - **Disclaimer:** as of now, creation of a service account key in the Portal is only available in DEV and QA environments. You can use this flow in these environments by using the options `config.WithWithTokenEndpoint` and `config.WithWithJWKSEndpoint` to configure the corresponding endpoints. + **Disclaimer:** as of now, creation of a service account key in the Portal is only available in DEV and QA environments. You can use this flow in these environments by using the options `config.WithTokenEndpoint` and `config.WithJWKSEndpoint` to configure the corresponding endpoints. 2. Save the content of the service account key and the corresponding private key by copying them or saving them in a file.