external-secrets.io_clustersecretstores.yaml 62 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.8.0
  6. creationTimestamp: null
  7. name: clustersecretstores.external-secrets.io
  8. spec:
  9. group: external-secrets.io
  10. names:
  11. categories:
  12. - externalsecrets
  13. kind: ClusterSecretStore
  14. listKind: ClusterSecretStoreList
  15. plural: clustersecretstores
  16. shortNames:
  17. - css
  18. singular: clustersecretstore
  19. scope: Cluster
  20. versions:
  21. - additionalPrinterColumns:
  22. - jsonPath: .metadata.creationTimestamp
  23. name: AGE
  24. type: date
  25. name: v1alpha1
  26. schema:
  27. openAPIV3Schema:
  28. description: ClusterSecretStore represents a secure external location for
  29. storing secrets, which can be referenced as part of `storeRef` fields.
  30. properties:
  31. apiVersion:
  32. description: 'APIVersion defines the versioned schema of this representation
  33. of an object. Servers should convert recognized schemas to the latest
  34. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  35. type: string
  36. kind:
  37. description: 'Kind is a string value representing the REST resource this
  38. object represents. Servers may infer this from the endpoint the client
  39. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  40. type: string
  41. metadata:
  42. type: object
  43. spec:
  44. description: SecretStoreSpec defines the desired state of SecretStore.
  45. properties:
  46. controller:
  47. description: 'Used to select the correct KES controller (think: ingress.ingressClassName)
  48. The KES controller is instantiated with a specific controller name
  49. and filters ES based on this property'
  50. type: string
  51. provider:
  52. description: Used to configure the provider. Only one provider may
  53. be set
  54. maxProperties: 1
  55. minProperties: 1
  56. properties:
  57. akeyless:
  58. description: Akeyless configures this store to sync secrets using
  59. Akeyless Vault provider
  60. properties:
  61. akeylessGWApiURL:
  62. description: Akeyless GW API Url from which the secrets to
  63. be fetched from.
  64. type: string
  65. authSecretRef:
  66. description: Auth configures how the operator authenticates
  67. with Akeyless.
  68. properties:
  69. secretRef:
  70. description: 'AkeylessAuthSecretRef AKEYLESS_ACCESS_TYPE_PARAM:
  71. AZURE_OBJ_ID OR GCP_AUDIENCE OR ACCESS_KEY OR KUB_CONFIG_NAME.'
  72. properties:
  73. accessID:
  74. description: The SecretAccessID is used for authentication
  75. properties:
  76. key:
  77. description: The key of the entry in the Secret
  78. resource's `data` field to be used. Some instances
  79. of this field may be defaulted, in others it
  80. may be required.
  81. type: string
  82. name:
  83. description: The name of the Secret resource being
  84. referred to.
  85. type: string
  86. namespace:
  87. description: Namespace of the resource being referred
  88. to. Ignored if referent is not cluster-scoped.
  89. cluster-scoped defaults to the namespace of
  90. the referent.
  91. type: string
  92. type: object
  93. accessType:
  94. description: A reference to a specific 'key' within
  95. a Secret resource, In some instances, `key` is a
  96. required field.
  97. properties:
  98. key:
  99. description: The key of the entry in the Secret
  100. resource's `data` field to be used. Some instances
  101. of this field may be defaulted, in others it
  102. may be required.
  103. type: string
  104. name:
  105. description: The name of the Secret resource being
  106. referred to.
  107. type: string
  108. namespace:
  109. description: Namespace of the resource being referred
  110. to. Ignored if referent is not cluster-scoped.
  111. cluster-scoped defaults to the namespace of
  112. the referent.
  113. type: string
  114. type: object
  115. accessTypeParam:
  116. description: A reference to a specific 'key' within
  117. a Secret resource, In some instances, `key` is a
  118. required field.
  119. properties:
  120. key:
  121. description: The key of the entry in the Secret
  122. resource's `data` field to be used. Some instances
  123. of this field may be defaulted, in others it
  124. may be required.
  125. type: string
  126. name:
  127. description: The name of the Secret resource being
  128. referred to.
  129. type: string
  130. namespace:
  131. description: Namespace of the resource being referred
  132. to. Ignored if referent is not cluster-scoped.
  133. cluster-scoped defaults to the namespace of
  134. the referent.
  135. type: string
  136. type: object
  137. type: object
  138. required:
  139. - secretRef
  140. type: object
  141. required:
  142. - akeylessGWApiURL
  143. - authSecretRef
  144. type: object
  145. alibaba:
  146. description: Alibaba configures this store to sync secrets using
  147. Alibaba Cloud provider
  148. properties:
  149. auth:
  150. description: AlibabaAuth contains a secretRef for credentials.
  151. properties:
  152. secretRef:
  153. description: AlibabaAuthSecretRef holds secret references
  154. for Alibaba credentials.
  155. properties:
  156. accessKeyIDSecretRef:
  157. description: The AccessKeyID is used for authentication
  158. properties:
  159. key:
  160. description: The key of the entry in the Secret
  161. resource's `data` field to be used. Some instances
  162. of this field may be defaulted, in others it
  163. may be required.
  164. type: string
  165. name:
  166. description: The name of the Secret resource being
  167. referred to.
  168. type: string
  169. namespace:
  170. description: Namespace of the resource being referred
  171. to. Ignored if referent is not cluster-scoped.
  172. cluster-scoped defaults to the namespace of
  173. the referent.
  174. type: string
  175. type: object
  176. accessKeySecretSecretRef:
  177. description: The AccessKeySecret is used for authentication
  178. properties:
  179. key:
  180. description: The key of the entry in the Secret
  181. resource's `data` field to be used. Some instances
  182. of this field may be defaulted, in others it
  183. may be required.
  184. type: string
  185. name:
  186. description: The name of the Secret resource being
  187. referred to.
  188. type: string
  189. namespace:
  190. description: Namespace of the resource being referred
  191. to. Ignored if referent is not cluster-scoped.
  192. cluster-scoped defaults to the namespace of
  193. the referent.
  194. type: string
  195. type: object
  196. required:
  197. - accessKeyIDSecretRef
  198. - accessKeySecretSecretRef
  199. type: object
  200. required:
  201. - secretRef
  202. type: object
  203. endpoint:
  204. type: string
  205. regionID:
  206. description: Alibaba Region to be used for the provider
  207. type: string
  208. required:
  209. - auth
  210. - regionID
  211. type: object
  212. aws:
  213. description: AWS configures this store to sync secrets using AWS
  214. Secret Manager provider
  215. properties:
  216. auth:
  217. description: 'Auth defines the information necessary to authenticate
  218. against AWS if not set aws sdk will infer credentials from
  219. your environment see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials'
  220. properties:
  221. jwt:
  222. description: Authenticate against AWS using service account
  223. tokens.
  224. properties:
  225. serviceAccountRef:
  226. description: A reference to a ServiceAccount resource.
  227. properties:
  228. name:
  229. description: The name of the ServiceAccount resource
  230. being referred to.
  231. type: string
  232. namespace:
  233. description: Namespace of the resource being referred
  234. to. Ignored if referent is not cluster-scoped.
  235. cluster-scoped defaults to the namespace of
  236. the referent.
  237. type: string
  238. required:
  239. - name
  240. type: object
  241. type: object
  242. secretRef:
  243. description: AWSAuthSecretRef holds secret references
  244. for AWS credentials both AccessKeyID and SecretAccessKey
  245. must be defined in order to properly authenticate.
  246. properties:
  247. accessKeyIDSecretRef:
  248. description: The AccessKeyID is used for authentication
  249. properties:
  250. key:
  251. description: The key of the entry in the Secret
  252. resource's `data` field to be used. Some instances
  253. of this field may be defaulted, in others it
  254. may be required.
  255. type: string
  256. name:
  257. description: The name of the Secret resource being
  258. referred to.
  259. type: string
  260. namespace:
  261. description: Namespace of the resource being referred
  262. to. Ignored if referent is not cluster-scoped.
  263. cluster-scoped defaults to the namespace of
  264. the referent.
  265. type: string
  266. type: object
  267. secretAccessKeySecretRef:
  268. description: The SecretAccessKey is used for authentication
  269. properties:
  270. key:
  271. description: The key of the entry in the Secret
  272. resource's `data` field to be used. Some instances
  273. of this field may be defaulted, in others it
  274. may be required.
  275. type: string
  276. name:
  277. description: The name of the Secret resource being
  278. referred to.
  279. type: string
  280. namespace:
  281. description: Namespace of the resource being referred
  282. to. Ignored if referent is not cluster-scoped.
  283. cluster-scoped defaults to the namespace of
  284. the referent.
  285. type: string
  286. type: object
  287. type: object
  288. type: object
  289. region:
  290. description: AWS Region to be used for the provider
  291. type: string
  292. role:
  293. description: Role is a Role ARN which the SecretManager provider
  294. will assume
  295. type: string
  296. service:
  297. description: Service defines which service should be used
  298. to fetch the secrets
  299. enum:
  300. - SecretsManager
  301. - ParameterStore
  302. type: string
  303. required:
  304. - region
  305. - service
  306. type: object
  307. azurekv:
  308. description: AzureKV configures this store to sync secrets using
  309. Azure Key Vault provider
  310. properties:
  311. authSecretRef:
  312. description: Auth configures how the operator authenticates
  313. with Azure. Required for ServicePrincipal auth type.
  314. properties:
  315. clientId:
  316. description: The Azure clientId of the service principle
  317. used for authentication.
  318. properties:
  319. key:
  320. description: The key of the entry in the Secret resource's
  321. `data` field to be used. Some instances of this
  322. field may be defaulted, in others it may be required.
  323. type: string
  324. name:
  325. description: The name of the Secret resource being
  326. referred to.
  327. type: string
  328. namespace:
  329. description: Namespace of the resource being referred
  330. to. Ignored if referent is not cluster-scoped. cluster-scoped
  331. defaults to the namespace of the referent.
  332. type: string
  333. type: object
  334. clientSecret:
  335. description: The Azure ClientSecret of the service principle
  336. used for authentication.
  337. properties:
  338. key:
  339. description: The key of the entry in the Secret resource's
  340. `data` field to be used. Some instances of this
  341. field may be defaulted, in others it may be required.
  342. type: string
  343. name:
  344. description: The name of the Secret resource being
  345. referred to.
  346. type: string
  347. namespace:
  348. description: Namespace of the resource being referred
  349. to. Ignored if referent is not cluster-scoped. cluster-scoped
  350. defaults to the namespace of the referent.
  351. type: string
  352. type: object
  353. required:
  354. - clientId
  355. - clientSecret
  356. type: object
  357. authType:
  358. default: ServicePrincipal
  359. description: 'Auth type defines how to authenticate to the
  360. keyvault service. Valid values are: - "ServicePrincipal"
  361. (default): Using a service principal (tenantId, clientId,
  362. clientSecret) - "ManagedIdentity": Using Managed Identity
  363. assigned to the pod (see aad-pod-identity)'
  364. enum:
  365. - ServicePrincipal
  366. - ManagedIdentity
  367. type: string
  368. identityId:
  369. description: If multiple Managed Identity is assigned to the
  370. pod, you can select the one to be used
  371. type: string
  372. tenantId:
  373. description: TenantID configures the Azure Tenant to send
  374. requests to. Required for ServicePrincipal auth type.
  375. type: string
  376. vaultUrl:
  377. description: Vault Url from which the secrets to be fetched
  378. from.
  379. type: string
  380. required:
  381. - vaultUrl
  382. type: object
  383. fake:
  384. description: Fake configures a store with static key/value pairs
  385. properties:
  386. data:
  387. items:
  388. properties:
  389. key:
  390. type: string
  391. value:
  392. type: string
  393. valueMap:
  394. additionalProperties:
  395. type: string
  396. type: object
  397. version:
  398. type: string
  399. required:
  400. - key
  401. type: object
  402. type: array
  403. required:
  404. - data
  405. type: object
  406. gcpsm:
  407. description: GCPSM configures this store to sync secrets using
  408. Google Cloud Platform Secret Manager provider
  409. properties:
  410. auth:
  411. description: Auth defines the information necessary to authenticate
  412. against GCP
  413. properties:
  414. secretRef:
  415. properties:
  416. secretAccessKeySecretRef:
  417. description: The SecretAccessKey is used for authentication
  418. properties:
  419. key:
  420. description: The key of the entry in the Secret
  421. resource's `data` field to be used. Some instances
  422. of this field may be defaulted, in others it
  423. may be required.
  424. type: string
  425. name:
  426. description: The name of the Secret resource being
  427. referred to.
  428. type: string
  429. namespace:
  430. description: Namespace of the resource being referred
  431. to. Ignored if referent is not cluster-scoped.
  432. cluster-scoped defaults to the namespace of
  433. the referent.
  434. type: string
  435. type: object
  436. type: object
  437. workloadIdentity:
  438. properties:
  439. clusterLocation:
  440. type: string
  441. clusterName:
  442. type: string
  443. serviceAccountRef:
  444. description: A reference to a ServiceAccount resource.
  445. properties:
  446. name:
  447. description: The name of the ServiceAccount resource
  448. being referred to.
  449. type: string
  450. namespace:
  451. description: Namespace of the resource being referred
  452. to. Ignored if referent is not cluster-scoped.
  453. cluster-scoped defaults to the namespace of
  454. the referent.
  455. type: string
  456. required:
  457. - name
  458. type: object
  459. required:
  460. - clusterLocation
  461. - clusterName
  462. - serviceAccountRef
  463. type: object
  464. type: object
  465. projectID:
  466. description: ProjectID project where secret is located
  467. type: string
  468. type: object
  469. gitlab:
  470. description: GItlab configures this store to sync secrets using
  471. Gitlab Variables provider
  472. properties:
  473. auth:
  474. description: Auth configures how secret-manager authenticates
  475. with a GitLab instance.
  476. properties:
  477. SecretRef:
  478. properties:
  479. accessToken:
  480. description: AccessToken is used for authentication.
  481. properties:
  482. key:
  483. description: The key of the entry in the Secret
  484. resource's `data` field to be used. Some instances
  485. of this field may be defaulted, in others it
  486. may be required.
  487. type: string
  488. name:
  489. description: The name of the Secret resource being
  490. referred to.
  491. type: string
  492. namespace:
  493. description: Namespace of the resource being referred
  494. to. Ignored if referent is not cluster-scoped.
  495. cluster-scoped defaults to the namespace of
  496. the referent.
  497. type: string
  498. type: object
  499. type: object
  500. required:
  501. - SecretRef
  502. type: object
  503. projectID:
  504. description: ProjectID specifies a project where secrets are
  505. located.
  506. type: string
  507. url:
  508. description: URL configures the GitLab instance URL. Defaults
  509. to https://gitlab.com/.
  510. type: string
  511. required:
  512. - auth
  513. type: object
  514. ibm:
  515. description: IBM configures this store to sync secrets using IBM
  516. Cloud provider
  517. properties:
  518. auth:
  519. description: Auth configures how secret-manager authenticates
  520. with the IBM secrets manager.
  521. properties:
  522. secretRef:
  523. properties:
  524. secretApiKeySecretRef:
  525. description: The SecretAccessKey is used for authentication
  526. properties:
  527. key:
  528. description: The key of the entry in the Secret
  529. resource's `data` field to be used. Some instances
  530. of this field may be defaulted, in others it
  531. may be required.
  532. type: string
  533. name:
  534. description: The name of the Secret resource being
  535. referred to.
  536. type: string
  537. namespace:
  538. description: Namespace of the resource being referred
  539. to. Ignored if referent is not cluster-scoped.
  540. cluster-scoped defaults to the namespace of
  541. the referent.
  542. type: string
  543. type: object
  544. type: object
  545. required:
  546. - secretRef
  547. type: object
  548. serviceUrl:
  549. description: ServiceURL is the Endpoint URL that is specific
  550. to the Secrets Manager service instance
  551. type: string
  552. required:
  553. - auth
  554. type: object
  555. oracle:
  556. description: Oracle configures this store to sync secrets using
  557. Oracle Vault provider
  558. properties:
  559. auth:
  560. description: Auth configures how secret-manager authenticates
  561. with the Oracle Vault.
  562. properties:
  563. secretRef:
  564. description: SecretRef to pass through sensitive information.
  565. properties:
  566. fingerprint:
  567. description: Fingerprint is the fingerprint of the
  568. API private key.
  569. properties:
  570. key:
  571. description: The key of the entry in the Secret
  572. resource's `data` field to be used. Some instances
  573. of this field may be defaulted, in others it
  574. may be required.
  575. type: string
  576. name:
  577. description: The name of the Secret resource being
  578. referred to.
  579. type: string
  580. namespace:
  581. description: Namespace of the resource being referred
  582. to. Ignored if referent is not cluster-scoped.
  583. cluster-scoped defaults to the namespace of
  584. the referent.
  585. type: string
  586. type: object
  587. privatekey:
  588. description: PrivateKey is the user's API Signing
  589. Key in PEM format, used for authentication.
  590. properties:
  591. key:
  592. description: The key of the entry in the Secret
  593. resource's `data` field to be used. Some instances
  594. of this field may be defaulted, in others it
  595. may be required.
  596. type: string
  597. name:
  598. description: The name of the Secret resource being
  599. referred to.
  600. type: string
  601. namespace:
  602. description: Namespace of the resource being referred
  603. to. Ignored if referent is not cluster-scoped.
  604. cluster-scoped defaults to the namespace of
  605. the referent.
  606. type: string
  607. type: object
  608. type: object
  609. required:
  610. - secretRef
  611. type: object
  612. region:
  613. description: Region is the region where secret is located.
  614. type: string
  615. tenancy:
  616. description: Tenancy is the tenancy OCID where secret is located.
  617. type: string
  618. user:
  619. description: User is an access OCID specific to the account.
  620. type: string
  621. vault:
  622. description: Vault is the vault's OCID of the specific vault
  623. where secret is located.
  624. type: string
  625. required:
  626. - auth
  627. type: object
  628. vault:
  629. description: Vault configures this store to sync secrets using
  630. Hashi provider
  631. properties:
  632. auth:
  633. description: Auth configures how secret-manager authenticates
  634. with the Vault server.
  635. properties:
  636. appRole:
  637. description: AppRole authenticates with Vault using the
  638. App Role auth mechanism, with the role and secret stored
  639. in a Kubernetes Secret resource.
  640. properties:
  641. path:
  642. default: approle
  643. description: 'Path where the App Role authentication
  644. backend is mounted in Vault, e.g: "approle"'
  645. type: string
  646. roleId:
  647. description: RoleID configured in the App Role authentication
  648. backend when setting up the authentication backend
  649. in Vault.
  650. type: string
  651. secretRef:
  652. description: Reference to a key in a Secret that contains
  653. the App Role secret used to authenticate with Vault.
  654. The `key` field must be specified and denotes which
  655. entry within the Secret resource is used as the
  656. app role secret.
  657. properties:
  658. key:
  659. description: The key of the entry in the Secret
  660. resource's `data` field to be used. Some instances
  661. of this field may be defaulted, in others it
  662. may be required.
  663. type: string
  664. name:
  665. description: The name of the Secret resource being
  666. referred to.
  667. type: string
  668. namespace:
  669. description: Namespace of the resource being referred
  670. to. Ignored if referent is not cluster-scoped.
  671. cluster-scoped defaults to the namespace of
  672. the referent.
  673. type: string
  674. type: object
  675. required:
  676. - path
  677. - roleId
  678. - secretRef
  679. type: object
  680. cert:
  681. description: Cert authenticates with TLS Certificates
  682. by passing client certificate, private key and ca certificate
  683. Cert authentication method
  684. properties:
  685. clientCert:
  686. description: ClientCert is a certificate to authenticate
  687. using the Cert Vault authentication method
  688. properties:
  689. key:
  690. description: The key of the entry in the Secret
  691. resource's `data` field to be used. Some instances
  692. of this field may be defaulted, in others it
  693. may be required.
  694. type: string
  695. name:
  696. description: The name of the Secret resource being
  697. referred to.
  698. type: string
  699. namespace:
  700. description: Namespace of the resource being referred
  701. to. Ignored if referent is not cluster-scoped.
  702. cluster-scoped defaults to the namespace of
  703. the referent.
  704. type: string
  705. type: object
  706. secretRef:
  707. description: SecretRef to a key in a Secret resource
  708. containing client private key to authenticate with
  709. Vault using the Cert authentication method
  710. properties:
  711. key:
  712. description: The key of the entry in the Secret
  713. resource's `data` field to be used. Some instances
  714. of this field may be defaulted, in others it
  715. may be required.
  716. type: string
  717. name:
  718. description: The name of the Secret resource being
  719. referred to.
  720. type: string
  721. namespace:
  722. description: Namespace of the resource being referred
  723. to. Ignored if referent is not cluster-scoped.
  724. cluster-scoped defaults to the namespace of
  725. the referent.
  726. type: string
  727. type: object
  728. type: object
  729. jwt:
  730. description: Jwt authenticates with Vault by passing role
  731. and JWT token using the JWT/OIDC authentication method
  732. properties:
  733. path:
  734. default: jwt
  735. description: 'Path where the JWT authentication backend
  736. is mounted in Vault, e.g: "jwt"'
  737. type: string
  738. role:
  739. description: Role is a JWT role to authenticate using
  740. the JWT/OIDC Vault authentication method
  741. type: string
  742. secretRef:
  743. description: SecretRef to a key in a Secret resource
  744. containing JWT token to authenticate with Vault
  745. using the JWT/OIDC authentication method
  746. properties:
  747. key:
  748. description: The key of the entry in the Secret
  749. resource's `data` field to be used. Some instances
  750. of this field may be defaulted, in others it
  751. may be required.
  752. type: string
  753. name:
  754. description: The name of the Secret resource being
  755. referred to.
  756. type: string
  757. namespace:
  758. description: Namespace of the resource being referred
  759. to. Ignored if referent is not cluster-scoped.
  760. cluster-scoped defaults to the namespace of
  761. the referent.
  762. type: string
  763. type: object
  764. required:
  765. - path
  766. type: object
  767. kubernetes:
  768. description: Kubernetes authenticates with Vault by passing
  769. the ServiceAccount token stored in the named Secret
  770. resource to the Vault server.
  771. properties:
  772. mountPath:
  773. default: kubernetes
  774. description: 'Path where the Kubernetes authentication
  775. backend is mounted in Vault, e.g: "kubernetes"'
  776. type: string
  777. role:
  778. description: A required field containing the Vault
  779. Role to assume. A Role binds a Kubernetes ServiceAccount
  780. with a set of Vault policies.
  781. type: string
  782. secretRef:
  783. description: Optional secret field containing a Kubernetes
  784. ServiceAccount JWT used for authenticating with
  785. Vault. If a name is specified without a key, `token`
  786. is the default. If one is not specified, the one
  787. bound to the controller will be used.
  788. properties:
  789. key:
  790. description: The key of the entry in the Secret
  791. resource's `data` field to be used. Some instances
  792. of this field may be defaulted, in others it
  793. may be required.
  794. type: string
  795. name:
  796. description: The name of the Secret resource being
  797. referred to.
  798. type: string
  799. namespace:
  800. description: Namespace of the resource being referred
  801. to. Ignored if referent is not cluster-scoped.
  802. cluster-scoped defaults to the namespace of
  803. the referent.
  804. type: string
  805. type: object
  806. serviceAccountRef:
  807. description: Optional service account field containing
  808. the name of a kubernetes ServiceAccount. If the
  809. service account is specified, the service account
  810. secret token JWT will be used for authenticating
  811. with Vault. If the service account selector is not
  812. supplied, the secretRef will be used instead.
  813. properties:
  814. name:
  815. description: The name of the ServiceAccount resource
  816. being referred to.
  817. type: string
  818. namespace:
  819. description: Namespace of the resource being referred
  820. to. Ignored if referent is not cluster-scoped.
  821. cluster-scoped defaults to the namespace of
  822. the referent.
  823. type: string
  824. required:
  825. - name
  826. type: object
  827. required:
  828. - mountPath
  829. - role
  830. type: object
  831. ldap:
  832. description: Ldap authenticates with Vault by passing
  833. username/password pair using the LDAP authentication
  834. method
  835. properties:
  836. path:
  837. default: ldap
  838. description: 'Path where the LDAP authentication backend
  839. is mounted in Vault, e.g: "ldap"'
  840. type: string
  841. secretRef:
  842. description: SecretRef to a key in a Secret resource
  843. containing password for the LDAP user used to authenticate
  844. with Vault using the LDAP authentication method
  845. properties:
  846. key:
  847. description: The key of the entry in the Secret
  848. resource's `data` field to be used. Some instances
  849. of this field may be defaulted, in others it
  850. may be required.
  851. type: string
  852. name:
  853. description: The name of the Secret resource being
  854. referred to.
  855. type: string
  856. namespace:
  857. description: Namespace of the resource being referred
  858. to. Ignored if referent is not cluster-scoped.
  859. cluster-scoped defaults to the namespace of
  860. the referent.
  861. type: string
  862. type: object
  863. username:
  864. description: Username is a LDAP user name used to
  865. authenticate using the LDAP Vault authentication
  866. method
  867. type: string
  868. required:
  869. - path
  870. - username
  871. type: object
  872. tokenSecretRef:
  873. description: TokenSecretRef authenticates with Vault by
  874. presenting a token.
  875. properties:
  876. key:
  877. description: The key of the entry in the Secret resource's
  878. `data` field to be used. Some instances of this
  879. field may be defaulted, in others it may be required.
  880. type: string
  881. name:
  882. description: The name of the Secret resource being
  883. referred to.
  884. type: string
  885. namespace:
  886. description: Namespace of the resource being referred
  887. to. Ignored if referent is not cluster-scoped. cluster-scoped
  888. defaults to the namespace of the referent.
  889. type: string
  890. type: object
  891. type: object
  892. caBundle:
  893. description: PEM encoded CA bundle used to validate Vault
  894. server certificate. Only used if the Server URL is using
  895. HTTPS protocol. This parameter is ignored for plain HTTP
  896. protocol connection. If not set the system root certificates
  897. are used to validate the TLS connection.
  898. format: byte
  899. type: string
  900. caProvider:
  901. description: The provider for the CA bundle to use to validate
  902. Vault server certificate.
  903. properties:
  904. key:
  905. description: The key the value inside of the provider
  906. type to use, only used with "Secret" type
  907. type: string
  908. name:
  909. description: The name of the object located at the provider
  910. type.
  911. type: string
  912. namespace:
  913. description: The namespace the Provider type is in.
  914. type: string
  915. type:
  916. description: The type of provider to use such as "Secret",
  917. or "ConfigMap".
  918. enum:
  919. - Secret
  920. - ConfigMap
  921. type: string
  922. required:
  923. - name
  924. - type
  925. type: object
  926. forwardInconsistent:
  927. description: ForwardInconsistent tells Vault to forward read-after-write
  928. requests to the Vault leader instead of simply retrying
  929. within a loop. This can increase performance if the option
  930. is enabled serverside. https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header
  931. type: boolean
  932. namespace:
  933. description: 'Name of the vault namespace. Namespaces is a
  934. set of features within Vault Enterprise that allows Vault
  935. environments to support Secure Multi-tenancy. e.g: "ns1".
  936. More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces'
  937. type: string
  938. path:
  939. description: 'Path is the mount path of the Vault KV backend
  940. endpoint, e.g: "secret". The v2 KV secret engine version
  941. specific "/data" path suffix for fetching secrets from Vault
  942. is optional and will be appended if not present in specified
  943. path.'
  944. type: string
  945. readYourWrites:
  946. description: ReadYourWrites ensures isolated read-after-write
  947. semantics by providing discovered cluster replication states
  948. in each request. More information about eventual consistency
  949. in Vault can be found here https://www.vaultproject.io/docs/enterprise/consistency
  950. type: boolean
  951. server:
  952. description: 'Server is the connection address for the Vault
  953. server, e.g: "https://vault.example.com:8200".'
  954. type: string
  955. version:
  956. default: v2
  957. description: Version is the Vault KV secret engine version.
  958. This can be either "v1" or "v2". Version defaults to "v2".
  959. enum:
  960. - v1
  961. - v2
  962. type: string
  963. required:
  964. - auth
  965. - server
  966. type: object
  967. webhook:
  968. description: Webhook configures this store to sync secrets using
  969. a generic templated webhook
  970. properties:
  971. body:
  972. description: Body
  973. type: string
  974. caBundle:
  975. description: PEM encoded CA bundle used to validate webhook
  976. server certificate. Only used if the Server URL is using
  977. HTTPS protocol. This parameter is ignored for plain HTTP
  978. protocol connection. If not set the system root certificates
  979. are used to validate the TLS connection.
  980. format: byte
  981. type: string
  982. caProvider:
  983. description: The provider for the CA bundle to use to validate
  984. webhook server certificate.
  985. properties:
  986. key:
  987. description: The key the value inside of the provider
  988. type to use, only used with "Secret" type
  989. type: string
  990. name:
  991. description: The name of the object located at the provider
  992. type.
  993. type: string
  994. namespace:
  995. description: The namespace the Provider type is in.
  996. type: string
  997. type:
  998. description: The type of provider to use such as "Secret",
  999. or "ConfigMap".
  1000. enum:
  1001. - Secret
  1002. - ConfigMap
  1003. type: string
  1004. required:
  1005. - name
  1006. - type
  1007. type: object
  1008. headers:
  1009. additionalProperties:
  1010. type: string
  1011. description: Headers
  1012. type: object
  1013. method:
  1014. description: Webhook Method
  1015. type: string
  1016. result:
  1017. description: Result formatting
  1018. properties:
  1019. jsonPath:
  1020. description: Json path of return value
  1021. type: string
  1022. type: object
  1023. secrets:
  1024. description: Secrets to fill in templates These secrets will
  1025. be passed to the templating function as key value pairs
  1026. under the given name
  1027. items:
  1028. properties:
  1029. name:
  1030. description: Name of this secret in templates
  1031. type: string
  1032. secretRef:
  1033. description: Secret ref to fill in credentials
  1034. properties:
  1035. key:
  1036. description: The key of the entry in the Secret
  1037. resource's `data` field to be used. Some instances
  1038. of this field may be defaulted, in others it may
  1039. be required.
  1040. type: string
  1041. name:
  1042. description: The name of the Secret resource being
  1043. referred to.
  1044. type: string
  1045. namespace:
  1046. description: Namespace of the resource being referred
  1047. to. Ignored if referent is not cluster-scoped.
  1048. cluster-scoped defaults to the namespace of the
  1049. referent.
  1050. type: string
  1051. type: object
  1052. required:
  1053. - name
  1054. - secretRef
  1055. type: object
  1056. type: array
  1057. timeout:
  1058. description: Timeout
  1059. type: string
  1060. url:
  1061. description: Webhook url to call
  1062. type: string
  1063. required:
  1064. - result
  1065. - url
  1066. type: object
  1067. yandexlockbox:
  1068. description: YandexLockbox configures this store to sync secrets
  1069. using Yandex Lockbox provider
  1070. properties:
  1071. apiEndpoint:
  1072. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  1073. type: string
  1074. auth:
  1075. description: Auth defines the information necessary to authenticate
  1076. against Yandex Lockbox
  1077. properties:
  1078. authorizedKeySecretRef:
  1079. description: The authorized key used for authentication
  1080. properties:
  1081. key:
  1082. description: The key of the entry in the Secret resource's
  1083. `data` field to be used. Some instances of this
  1084. field may be defaulted, in others it may be required.
  1085. type: string
  1086. name:
  1087. description: The name of the Secret resource being
  1088. referred to.
  1089. type: string
  1090. namespace:
  1091. description: Namespace of the resource being referred
  1092. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1093. defaults to the namespace of the referent.
  1094. type: string
  1095. type: object
  1096. type: object
  1097. caProvider:
  1098. description: The provider for the CA bundle to use to validate
  1099. Yandex.Cloud server certificate.
  1100. properties:
  1101. certSecretRef:
  1102. description: A reference to a specific 'key' within a
  1103. Secret resource, In some instances, `key` is a required
  1104. field.
  1105. properties:
  1106. key:
  1107. description: The key of the entry in the Secret resource's
  1108. `data` field to be used. Some instances of this
  1109. field may be defaulted, in others it may be required.
  1110. type: string
  1111. name:
  1112. description: The name of the Secret resource being
  1113. referred to.
  1114. type: string
  1115. namespace:
  1116. description: Namespace of the resource being referred
  1117. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1118. defaults to the namespace of the referent.
  1119. type: string
  1120. type: object
  1121. type: object
  1122. required:
  1123. - auth
  1124. type: object
  1125. type: object
  1126. retrySettings:
  1127. description: Used to configure http retries if failed
  1128. properties:
  1129. maxRetries:
  1130. format: int32
  1131. type: integer
  1132. retryInterval:
  1133. type: string
  1134. type: object
  1135. required:
  1136. - provider
  1137. type: object
  1138. status:
  1139. description: SecretStoreStatus defines the observed state of the SecretStore.
  1140. properties:
  1141. conditions:
  1142. items:
  1143. properties:
  1144. lastTransitionTime:
  1145. format: date-time
  1146. type: string
  1147. message:
  1148. type: string
  1149. reason:
  1150. type: string
  1151. status:
  1152. type: string
  1153. type:
  1154. type: string
  1155. required:
  1156. - status
  1157. - type
  1158. type: object
  1159. type: array
  1160. type: object
  1161. type: object
  1162. served: true
  1163. storage: true
  1164. subresources:
  1165. status: {}
  1166. status:
  1167. acceptedNames:
  1168. kind: ""
  1169. plural: ""
  1170. conditions: []
  1171. storedVersions: []