We are looking to move away from auth profile to identity federation in a repository rule of type AWS S3. This is to make sure the required access key Id and secret access key are fetched from AWS secrets manager instead of auth profile.
This is the set-up as I understand from various documentation,
Repository rules refers to an Identity Federation rule. I understand that a separate data instance External secret store will reference the identity federation rule.
Nowhere in the documentation there is a clear indication as to how the External secrets mapping to be configured for repository specific connection.
My question is, do we have to create a dedicated Identity federation and External secret store instances just for the repository rule alone without including any other secrets.
Also, is there an exact pattern to follow for the Secret reference and the Secret key columns in the External secret store rule form in this instance? Otherwise how would repository rule be able to fetch/use the secret keys if we name them as we wish.
Integration feels very disjoined and documentation seems incomplete.
Can any SME in this area, explain it a bit in details please.
You need to create a Indentity federation instance with AWS as cloud service provider. For that you need to create Oath2.0 client registration as well for Issues URL and Audience.
Create Identity federation instance-
Provide Issuer URL and Audience(in client credential)
Issuer URL from your oath2.0 client registration - till v1 Audience is the ClientID from oath2.0 client registration rule
Thanks for taking time to respond, yes, was aware of all that information from pega documentation. But, sorry, that didn’t cover my queries around mapping secret store to identity federation to repository. For repository rule, this specifically works a little different as mentioned in pega documentation but a lot of detail seems to be missing. If you managed to have set it up in your environment, can you share how the mapping works between aws secret manager to pega external secret store to pega identity federation to the repository rule. That might help.
By the way, in this instance Pega itself creates oauth 2.0 client registration when you set up Identity federation, we don’t need to manually create. It is mentioned here that it will be created automatically - Configuring identity federation
I have raised an SR to get a response from any pega SME, still waiting to hear on that.
We are using Indentity fed to connect to S3. Mapping in the sense what kind of mapping are you referring to?? We just need to provide details of AWS creds in Identity fed, rest all pega and AWS will take when the interaction happens. It is same as the token based mechanism or broker config in kafka instance in pega. During run time both the systems will handle the security interaction calls in the backend.
I meant the actual purpose of using identity fed, which is to map the access key id and secrete access key.
Basically in external secret store rule - what is the mapping you have added in the below section? Is there a specific naming you followed to map the access key id and the secret access key?
Below is the response from Pega support. Looks like secret store has no relevance when identity federation is set-up for the repository. So, it invalidates the original question that was raised here to link external secret store with identify fed.
After internal review and consultation, I’m pleased to provide the following details: