kubectl create secret generic infisical-service-token \
--from-literal=infisicalToken=<infisical-token> \
--namespace=<namespace>
apiVersion: secrets.infisical.com/v1alpha1
kind: InfisicalSecret
metadata:
name: infisical-secret
spec:
hostAPI: https://app.infisical.com/api
resyncInterval: 60
authentication:
serviceToken:
serviceTokenSecretReference:
secretName: infisical-service-token
secretNamespace: <namespace>
secretsScope:
envSlug: staging
secretsPath: '/'
managedSecretReference:
secretName: infisical-credentials
secretNamespace: <namespace>