beyondtrust-push-secret.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. apiVersion: external-secrets.io/v1alpha1
  2. kind: PushSecret
  3. metadata:
  4. name: pushsecret-beyondtrust
  5. spec:
  6. refreshInterval: 1h0m0s
  7. secretStoreRefs:
  8. - name: beyondtrust-store
  9. kind: ClusterSecretStore
  10. selector:
  11. secret:
  12. name: app-credentials
  13. data:
  14. - match:
  15. secretKey: "password"
  16. remoteRef:
  17. remoteKey: "" # not used in Beyondtrust PushSecret
  18. property: "" # not used in Beyondtrust PushSecret
  19. metadata:
  20. secret_type: CREDENTIAL # (FILE/CREDENTIAL/TEXT)
  21. title: Secret Title 505
  22. username: fhernandez
  23. description: Secret Title Description
  24. file_name: credentials.txt # only for FILE secret_type
  25. notes: "Example Notes"
  26. folder_name: folder1
  27. owner_id: 1
  28. group_id: 1
  29. owner_type: User
  30. notes: "This is a sample note for the secret"
  31. urls: # List of URLs associated with the secret (optional)
  32. - url: https://myapp.example.com/login
  33. id: "454"
  34. credential_id: "25"