Store the Client ID and the Client Secret to a Kubernetes Secret as client-id key and client-secret key respectively
# You can create a secret using the following command or applying `./examples/secret.yaml` after it is edited
kubectl create secret generic infisical-secret-provider-auth-credentials --from-literal="client-id=$id" --from-literal="client-secret=$secret"
Create an SecretProviderClass referencing the secret
# You should edit secretproviderclass.yaml to get secrets from provider
kubectl apply -f ./examples/secretproviderclass.yaml
Create an Pod using the SecretProviderClass
# This deployment lists and reads all secrets, then output logs of their contents
kubectl apply -f ./examples/deployment.yaml