Hello everyone, quick question using the helm char...
# talk-kratos
m
Hello everyone, quick question using the helm chart for Kratos. I finished setting up oidc all is great. The only issue I have now is that for
apple_private_key
I don't want to leave my private key for security reasons. I have been trying to make it a secret, but it's not taking it. Any help would be greatly appreciated.
Copy code
providers:
              - id: apple
                provider: apple
                client_id: com.example # Services ID provided by Apple
                apple_team_id: 564d6a5f4ds # Team ID provided by Apple
                apple_private_key_id: 6a5sd4fas6d #Private key identifier by apple
                apple_private_key: |
                  -----BEGIN PRIVATE KEY-----
                 
                  -----END PRIVATE KEY-----
                issuer_url: <https://appleid.apple.com>
                mapper_url: "<base64://alsdkfjasd>;lkjfas"
                scope:
                  - email
To something like this
Copy code
providers:
              - id: apple
                provider: apple
                client_id: com.example # Services ID provided by Apple
                apple_team_id: 564d6a5f4ds # Team ID provided by Apple
                apple_private_key_id: 6a5sd4fas6d #Private key identifier by apple
                env:
             - name: apple_private_key
                 valueFrom:
                   secretKeyRef:
                     name: apple_priv_key
                     key: apple_priv_key
                issuer_url: <https://appleid.apple.com>
                mapper_url: "<base64://bG9asdfasdfasdfasd>"
                scope:
                  - email