many-alligator-19004
01/16/2023, 2:50 PMapple_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.
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
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