external-secrets.io_clustersecretstores.yaml 157 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.9.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. - jsonPath: .status.conditions[?(@.type=="Ready")].reason
  26. name: Status
  27. type: string
  28. deprecated: true
  29. name: v1alpha1
  30. schema:
  31. openAPIV3Schema:
  32. description: ClusterSecretStore represents a secure external location for
  33. storing secrets, which can be referenced as part of `storeRef` fields.
  34. properties:
  35. apiVersion:
  36. description: 'APIVersion defines the versioned schema of this representation
  37. of an object. Servers should convert recognized schemas to the latest
  38. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  39. type: string
  40. kind:
  41. description: 'Kind is a string value representing the REST resource this
  42. object represents. Servers may infer this from the endpoint the client
  43. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  44. type: string
  45. metadata:
  46. type: object
  47. spec:
  48. description: SecretStoreSpec defines the desired state of SecretStore.
  49. properties:
  50. controller:
  51. description: 'Used to select the correct KES controller (think: ingress.ingressClassName)
  52. The KES controller is instantiated with a specific controller name
  53. and filters ES based on this property'
  54. type: string
  55. provider:
  56. description: Used to configure the provider. Only one provider may
  57. be set
  58. maxProperties: 1
  59. minProperties: 1
  60. properties:
  61. akeyless:
  62. description: Akeyless configures this store to sync secrets using
  63. Akeyless Vault provider
  64. properties:
  65. akeylessGWApiURL:
  66. description: Akeyless GW API Url from which the secrets to
  67. be fetched from.
  68. type: string
  69. authSecretRef:
  70. description: Auth configures how the operator authenticates
  71. with Akeyless.
  72. properties:
  73. secretRef:
  74. description: 'AkeylessAuthSecretRef AKEYLESS_ACCESS_TYPE_PARAM:
  75. AZURE_OBJ_ID OR GCP_AUDIENCE OR ACCESS_KEY OR KUB_CONFIG_NAME.'
  76. properties:
  77. accessID:
  78. description: The SecretAccessID is used for authentication
  79. properties:
  80. key:
  81. description: The key of the entry in the Secret
  82. resource's `data` field to be used. Some instances
  83. of this field may be defaulted, in others it
  84. may be required.
  85. type: string
  86. name:
  87. description: The name of the Secret resource being
  88. referred to.
  89. type: string
  90. namespace:
  91. description: Namespace of the resource being referred
  92. to. Ignored if referent is not cluster-scoped.
  93. cluster-scoped defaults to the namespace of
  94. the referent.
  95. type: string
  96. type: object
  97. accessType:
  98. description: A reference to a specific 'key' within
  99. a Secret resource, In some instances, `key` is a
  100. required field.
  101. properties:
  102. key:
  103. description: The key of the entry in the Secret
  104. resource's `data` field to be used. Some instances
  105. of this field may be defaulted, in others it
  106. may be required.
  107. type: string
  108. name:
  109. description: The name of the Secret resource being
  110. referred to.
  111. type: string
  112. namespace:
  113. description: Namespace of the resource being referred
  114. to. Ignored if referent is not cluster-scoped.
  115. cluster-scoped defaults to the namespace of
  116. the referent.
  117. type: string
  118. type: object
  119. accessTypeParam:
  120. description: A reference to a specific 'key' within
  121. a Secret resource, In some instances, `key` is a
  122. required field.
  123. properties:
  124. key:
  125. description: The key of the entry in the Secret
  126. resource's `data` field to be used. Some instances
  127. of this field may be defaulted, in others it
  128. may be required.
  129. type: string
  130. name:
  131. description: The name of the Secret resource being
  132. referred to.
  133. type: string
  134. namespace:
  135. description: Namespace of the resource being referred
  136. to. Ignored if referent is not cluster-scoped.
  137. cluster-scoped defaults to the namespace of
  138. the referent.
  139. type: string
  140. type: object
  141. type: object
  142. required:
  143. - secretRef
  144. type: object
  145. required:
  146. - akeylessGWApiURL
  147. - authSecretRef
  148. type: object
  149. alibaba:
  150. description: Alibaba configures this store to sync secrets using
  151. Alibaba Cloud provider
  152. properties:
  153. auth:
  154. description: AlibabaAuth contains a secretRef for credentials.
  155. properties:
  156. secretRef:
  157. description: AlibabaAuthSecretRef holds secret references
  158. for Alibaba credentials.
  159. properties:
  160. accessKeyIDSecretRef:
  161. description: The AccessKeyID is used for authentication
  162. properties:
  163. key:
  164. description: The key of the entry in the Secret
  165. resource's `data` field to be used. Some instances
  166. of this field may be defaulted, in others it
  167. may be required.
  168. type: string
  169. name:
  170. description: The name of the Secret resource being
  171. referred to.
  172. type: string
  173. namespace:
  174. description: Namespace of the resource being referred
  175. to. Ignored if referent is not cluster-scoped.
  176. cluster-scoped defaults to the namespace of
  177. the referent.
  178. type: string
  179. type: object
  180. accessKeySecretSecretRef:
  181. description: The AccessKeySecret is used for authentication
  182. properties:
  183. key:
  184. description: The key of the entry in the Secret
  185. resource's `data` field to be used. Some instances
  186. of this field may be defaulted, in others it
  187. may be required.
  188. type: string
  189. name:
  190. description: The name of the Secret resource being
  191. referred to.
  192. type: string
  193. namespace:
  194. description: Namespace of the resource being referred
  195. to. Ignored if referent is not cluster-scoped.
  196. cluster-scoped defaults to the namespace of
  197. the referent.
  198. type: string
  199. type: object
  200. required:
  201. - accessKeyIDSecretRef
  202. - accessKeySecretSecretRef
  203. type: object
  204. required:
  205. - secretRef
  206. type: object
  207. endpoint:
  208. type: string
  209. regionID:
  210. description: Alibaba Region to be used for the provider
  211. type: string
  212. required:
  213. - auth
  214. - regionID
  215. type: object
  216. aws:
  217. description: AWS configures this store to sync secrets using AWS
  218. Secret Manager provider
  219. properties:
  220. auth:
  221. description: 'Auth defines the information necessary to authenticate
  222. against AWS if not set aws sdk will infer credentials from
  223. your environment see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials'
  224. properties:
  225. jwt:
  226. description: Authenticate against AWS using service account
  227. tokens.
  228. properties:
  229. serviceAccountRef:
  230. description: A reference to a ServiceAccount resource.
  231. properties:
  232. name:
  233. description: The name of the ServiceAccount resource
  234. being referred to.
  235. type: string
  236. namespace:
  237. description: Namespace of the resource being referred
  238. to. Ignored if referent is not cluster-scoped.
  239. cluster-scoped defaults to the namespace of
  240. the referent.
  241. type: string
  242. required:
  243. - name
  244. type: object
  245. type: object
  246. secretRef:
  247. description: AWSAuthSecretRef holds secret references
  248. for AWS credentials both AccessKeyID and SecretAccessKey
  249. must be defined in order to properly authenticate.
  250. properties:
  251. accessKeyIDSecretRef:
  252. description: The AccessKeyID is used for authentication
  253. properties:
  254. key:
  255. description: The key of the entry in the Secret
  256. resource's `data` field to be used. Some instances
  257. of this field may be defaulted, in others it
  258. may be required.
  259. type: string
  260. name:
  261. description: The name of the Secret resource being
  262. referred to.
  263. type: string
  264. namespace:
  265. description: Namespace of the resource being referred
  266. to. Ignored if referent is not cluster-scoped.
  267. cluster-scoped defaults to the namespace of
  268. the referent.
  269. type: string
  270. type: object
  271. secretAccessKeySecretRef:
  272. description: The SecretAccessKey is used for authentication
  273. properties:
  274. key:
  275. description: The key of the entry in the Secret
  276. resource's `data` field to be used. Some instances
  277. of this field may be defaulted, in others it
  278. may be required.
  279. type: string
  280. name:
  281. description: The name of the Secret resource being
  282. referred to.
  283. type: string
  284. namespace:
  285. description: Namespace of the resource being referred
  286. to. Ignored if referent is not cluster-scoped.
  287. cluster-scoped defaults to the namespace of
  288. the referent.
  289. type: string
  290. type: object
  291. type: object
  292. type: object
  293. region:
  294. description: AWS Region to be used for the provider
  295. type: string
  296. role:
  297. description: Role is a Role ARN which the SecretManager provider
  298. will assume
  299. type: string
  300. service:
  301. description: Service defines which service should be used
  302. to fetch the secrets
  303. enum:
  304. - SecretsManager
  305. - ParameterStore
  306. type: string
  307. required:
  308. - region
  309. - service
  310. type: object
  311. azurekv:
  312. description: AzureKV configures this store to sync secrets using
  313. Azure Key Vault provider
  314. properties:
  315. authSecretRef:
  316. description: Auth configures how the operator authenticates
  317. with Azure. Required for ServicePrincipal auth type.
  318. properties:
  319. clientId:
  320. description: The Azure clientId of the service principle
  321. used for authentication.
  322. properties:
  323. key:
  324. description: The key of the entry in the Secret resource's
  325. `data` field to be used. Some instances of this
  326. field may be defaulted, in others it may be required.
  327. type: string
  328. name:
  329. description: The name of the Secret resource being
  330. referred to.
  331. type: string
  332. namespace:
  333. description: Namespace of the resource being referred
  334. to. Ignored if referent is not cluster-scoped. cluster-scoped
  335. defaults to the namespace of the referent.
  336. type: string
  337. type: object
  338. clientSecret:
  339. description: The Azure ClientSecret of the service principle
  340. used for authentication.
  341. properties:
  342. key:
  343. description: The key of the entry in the Secret resource's
  344. `data` field to be used. Some instances of this
  345. field may be defaulted, in others it may be required.
  346. type: string
  347. name:
  348. description: The name of the Secret resource being
  349. referred to.
  350. type: string
  351. namespace:
  352. description: Namespace of the resource being referred
  353. to. Ignored if referent is not cluster-scoped. cluster-scoped
  354. defaults to the namespace of the referent.
  355. type: string
  356. type: object
  357. type: object
  358. authType:
  359. default: ServicePrincipal
  360. description: 'Auth type defines how to authenticate to the
  361. keyvault service. Valid values are: - "ServicePrincipal"
  362. (default): Using a service principal (tenantId, clientId,
  363. clientSecret) - "ManagedIdentity": Using Managed Identity
  364. assigned to the pod (see aad-pod-identity)'
  365. enum:
  366. - ServicePrincipal
  367. - ManagedIdentity
  368. - WorkloadIdentity
  369. type: string
  370. identityId:
  371. description: If multiple Managed Identity is assigned to the
  372. pod, you can select the one to be used
  373. type: string
  374. serviceAccountRef:
  375. description: ServiceAccountRef specified the service account
  376. that should be used when authenticating with WorkloadIdentity.
  377. properties:
  378. name:
  379. description: The name of the ServiceAccount resource being
  380. referred to.
  381. type: string
  382. namespace:
  383. description: Namespace of the resource being referred
  384. to. Ignored if referent is not cluster-scoped. cluster-scoped
  385. defaults to the namespace of the referent.
  386. type: string
  387. required:
  388. - name
  389. type: object
  390. tenantId:
  391. description: TenantID configures the Azure Tenant to send
  392. requests to. Required for ServicePrincipal auth type.
  393. type: string
  394. vaultUrl:
  395. description: Vault Url from which the secrets to be fetched
  396. from.
  397. type: string
  398. required:
  399. - vaultUrl
  400. type: object
  401. fake:
  402. description: Fake configures a store with static key/value pairs
  403. properties:
  404. data:
  405. items:
  406. properties:
  407. key:
  408. type: string
  409. value:
  410. type: string
  411. valueMap:
  412. additionalProperties:
  413. type: string
  414. type: object
  415. version:
  416. type: string
  417. required:
  418. - key
  419. type: object
  420. type: array
  421. required:
  422. - data
  423. type: object
  424. gcpsm:
  425. description: GCPSM configures this store to sync secrets using
  426. Google Cloud Platform Secret Manager provider
  427. properties:
  428. auth:
  429. description: Auth defines the information necessary to authenticate
  430. against GCP
  431. properties:
  432. secretRef:
  433. properties:
  434. secretAccessKeySecretRef:
  435. description: The SecretAccessKey is used for authentication
  436. properties:
  437. key:
  438. description: The key of the entry in the Secret
  439. resource's `data` field to be used. Some instances
  440. of this field may be defaulted, in others it
  441. may be required.
  442. type: string
  443. name:
  444. description: The name of the Secret resource being
  445. referred to.
  446. type: string
  447. namespace:
  448. description: Namespace of the resource being referred
  449. to. Ignored if referent is not cluster-scoped.
  450. cluster-scoped defaults to the namespace of
  451. the referent.
  452. type: string
  453. type: object
  454. type: object
  455. workloadIdentity:
  456. properties:
  457. clusterLocation:
  458. type: string
  459. clusterName:
  460. type: string
  461. clusterProjectID:
  462. type: string
  463. serviceAccountRef:
  464. description: A reference to a ServiceAccount resource.
  465. properties:
  466. name:
  467. description: The name of the ServiceAccount resource
  468. being referred to.
  469. type: string
  470. namespace:
  471. description: Namespace of the resource being referred
  472. to. Ignored if referent is not cluster-scoped.
  473. cluster-scoped defaults to the namespace of
  474. the referent.
  475. type: string
  476. required:
  477. - name
  478. type: object
  479. required:
  480. - clusterLocation
  481. - clusterName
  482. - serviceAccountRef
  483. type: object
  484. type: object
  485. projectID:
  486. description: ProjectID project where secret is located
  487. type: string
  488. type: object
  489. gitlab:
  490. description: Gitlab configures this store to sync secrets using
  491. Gitlab Variables provider
  492. properties:
  493. auth:
  494. description: Auth configures how secret-manager authenticates
  495. with a GitLab instance.
  496. properties:
  497. SecretRef:
  498. properties:
  499. accessToken:
  500. description: AccessToken is used for authentication.
  501. properties:
  502. key:
  503. description: The key of the entry in the Secret
  504. resource's `data` field to be used. Some instances
  505. of this field may be defaulted, in others it
  506. may be required.
  507. type: string
  508. name:
  509. description: The name of the Secret resource being
  510. referred to.
  511. type: string
  512. namespace:
  513. description: Namespace of the resource being referred
  514. to. Ignored if referent is not cluster-scoped.
  515. cluster-scoped defaults to the namespace of
  516. the referent.
  517. type: string
  518. type: object
  519. type: object
  520. required:
  521. - SecretRef
  522. type: object
  523. projectID:
  524. description: ProjectID specifies a project where secrets are
  525. located.
  526. type: string
  527. url:
  528. description: URL configures the GitLab instance URL. Defaults
  529. to https://gitlab.com/.
  530. type: string
  531. required:
  532. - auth
  533. type: object
  534. ibm:
  535. description: IBM configures this store to sync secrets using IBM
  536. Cloud provider
  537. properties:
  538. auth:
  539. description: Auth configures how secret-manager authenticates
  540. with the IBM secrets manager.
  541. properties:
  542. secretRef:
  543. properties:
  544. secretApiKeySecretRef:
  545. description: The SecretAccessKey is used for authentication
  546. properties:
  547. key:
  548. description: The key of the entry in the Secret
  549. resource's `data` field to be used. Some instances
  550. of this field may be defaulted, in others it
  551. may be required.
  552. type: string
  553. name:
  554. description: The name of the Secret resource being
  555. referred to.
  556. type: string
  557. namespace:
  558. description: Namespace of the resource being referred
  559. to. Ignored if referent is not cluster-scoped.
  560. cluster-scoped defaults to the namespace of
  561. the referent.
  562. type: string
  563. type: object
  564. type: object
  565. required:
  566. - secretRef
  567. type: object
  568. serviceUrl:
  569. description: ServiceURL is the Endpoint URL that is specific
  570. to the Secrets Manager service instance
  571. type: string
  572. required:
  573. - auth
  574. type: object
  575. kubernetes:
  576. description: Kubernetes configures this store to sync secrets
  577. using a Kubernetes cluster provider
  578. properties:
  579. auth:
  580. description: Auth configures how secret-manager authenticates
  581. with a Kubernetes instance.
  582. maxProperties: 1
  583. minProperties: 1
  584. properties:
  585. cert:
  586. description: has both clientCert and clientKey as secretKeySelector
  587. properties:
  588. clientCert:
  589. description: A reference to a specific 'key' within
  590. a Secret resource, In some instances, `key` is a
  591. required field.
  592. properties:
  593. key:
  594. description: The key of the entry in the Secret
  595. resource's `data` field to be used. Some instances
  596. of this field may be defaulted, in others it
  597. may be required.
  598. type: string
  599. name:
  600. description: The name of the Secret resource being
  601. referred to.
  602. type: string
  603. namespace:
  604. description: Namespace of the resource being referred
  605. to. Ignored if referent is not cluster-scoped.
  606. cluster-scoped defaults to the namespace of
  607. the referent.
  608. type: string
  609. type: object
  610. clientKey:
  611. description: A reference to a specific 'key' within
  612. a Secret resource, In some instances, `key` is a
  613. required field.
  614. properties:
  615. key:
  616. description: The key of the entry in the Secret
  617. resource's `data` field to be used. Some instances
  618. of this field may be defaulted, in others it
  619. may be required.
  620. type: string
  621. name:
  622. description: The name of the Secret resource being
  623. referred to.
  624. type: string
  625. namespace:
  626. description: Namespace of the resource being referred
  627. to. Ignored if referent is not cluster-scoped.
  628. cluster-scoped defaults to the namespace of
  629. the referent.
  630. type: string
  631. type: object
  632. type: object
  633. serviceAccount:
  634. description: points to a service account that should be
  635. used for authentication
  636. properties:
  637. serviceAccount:
  638. description: A reference to a ServiceAccount resource.
  639. properties:
  640. name:
  641. description: The name of the ServiceAccount resource
  642. being referred to.
  643. type: string
  644. namespace:
  645. description: Namespace of the resource being referred
  646. to. Ignored if referent is not cluster-scoped.
  647. cluster-scoped defaults to the namespace of
  648. the referent.
  649. type: string
  650. required:
  651. - name
  652. type: object
  653. type: object
  654. token:
  655. description: use static token to authenticate with
  656. properties:
  657. bearerToken:
  658. description: A reference to a specific 'key' within
  659. a Secret resource, In some instances, `key` is a
  660. required field.
  661. properties:
  662. key:
  663. description: The key of the entry in the Secret
  664. resource's `data` field to be used. Some instances
  665. of this field may be defaulted, in others it
  666. may be required.
  667. type: string
  668. name:
  669. description: The name of the Secret resource being
  670. referred to.
  671. type: string
  672. namespace:
  673. description: Namespace of the resource being referred
  674. to. Ignored if referent is not cluster-scoped.
  675. cluster-scoped defaults to the namespace of
  676. the referent.
  677. type: string
  678. type: object
  679. type: object
  680. type: object
  681. remoteNamespace:
  682. default: default
  683. description: Remote namespace to fetch the secrets from
  684. type: string
  685. server:
  686. description: configures the Kubernetes server Address.
  687. properties:
  688. caBundle:
  689. description: CABundle is a base64-encoded CA certificate
  690. format: byte
  691. type: string
  692. caProvider:
  693. description: 'see: https://external-secrets.io/v0.4.1/spec/#external-secrets.io/v1alpha1.CAProvider'
  694. properties:
  695. key:
  696. description: The key the value inside of the provider
  697. type to use, only used with "Secret" type
  698. type: string
  699. name:
  700. description: The name of the object located at the
  701. provider type.
  702. type: string
  703. namespace:
  704. description: The namespace the Provider type is in.
  705. type: string
  706. type:
  707. description: The type of provider to use such as "Secret",
  708. or "ConfigMap".
  709. enum:
  710. - Secret
  711. - ConfigMap
  712. type: string
  713. required:
  714. - name
  715. - type
  716. type: object
  717. url:
  718. default: kubernetes.default
  719. description: configures the Kubernetes server Address.
  720. type: string
  721. type: object
  722. required:
  723. - auth
  724. type: object
  725. oracle:
  726. description: Oracle configures this store to sync secrets using
  727. Oracle Vault provider
  728. properties:
  729. auth:
  730. description: Auth configures how secret-manager authenticates
  731. with the Oracle Vault. If empty, use the instance principal,
  732. otherwise the user credentials specified in Auth.
  733. properties:
  734. secretRef:
  735. description: SecretRef to pass through sensitive information.
  736. properties:
  737. fingerprint:
  738. description: Fingerprint is the fingerprint of the
  739. API private key.
  740. properties:
  741. key:
  742. description: The key of the entry in the Secret
  743. resource's `data` field to be used. Some instances
  744. of this field may be defaulted, in others it
  745. may be required.
  746. type: string
  747. name:
  748. description: The name of the Secret resource being
  749. referred to.
  750. type: string
  751. namespace:
  752. description: Namespace of the resource being referred
  753. to. Ignored if referent is not cluster-scoped.
  754. cluster-scoped defaults to the namespace of
  755. the referent.
  756. type: string
  757. type: object
  758. privatekey:
  759. description: PrivateKey is the user's API Signing
  760. Key in PEM format, used for authentication.
  761. properties:
  762. key:
  763. description: The key of the entry in the Secret
  764. resource's `data` field to be used. Some instances
  765. of this field may be defaulted, in others it
  766. may be required.
  767. type: string
  768. name:
  769. description: The name of the Secret resource being
  770. referred to.
  771. type: string
  772. namespace:
  773. description: Namespace of the resource being referred
  774. to. Ignored if referent is not cluster-scoped.
  775. cluster-scoped defaults to the namespace of
  776. the referent.
  777. type: string
  778. type: object
  779. required:
  780. - fingerprint
  781. - privatekey
  782. type: object
  783. tenancy:
  784. description: Tenancy is the tenancy OCID where user is
  785. located.
  786. type: string
  787. user:
  788. description: User is an access OCID specific to the account.
  789. type: string
  790. required:
  791. - secretRef
  792. - tenancy
  793. - user
  794. type: object
  795. region:
  796. description: Region is the region where vault is located.
  797. type: string
  798. vault:
  799. description: Vault is the vault's OCID of the specific vault
  800. where secret is located.
  801. type: string
  802. required:
  803. - region
  804. - vault
  805. type: object
  806. vault:
  807. description: Vault configures this store to sync secrets using
  808. Hashi provider
  809. properties:
  810. auth:
  811. description: Auth configures how secret-manager authenticates
  812. with the Vault server.
  813. properties:
  814. appRole:
  815. description: AppRole authenticates with Vault using the
  816. App Role auth mechanism, with the role and secret stored
  817. in a Kubernetes Secret resource.
  818. properties:
  819. path:
  820. default: approle
  821. description: 'Path where the App Role authentication
  822. backend is mounted in Vault, e.g: "approle"'
  823. type: string
  824. roleId:
  825. description: RoleID configured in the App Role authentication
  826. backend when setting up the authentication backend
  827. in Vault.
  828. type: string
  829. secretRef:
  830. description: Reference to a key in a Secret that contains
  831. the App Role secret used to authenticate with Vault.
  832. The `key` field must be specified and denotes which
  833. entry within the Secret resource is used as the
  834. app role secret.
  835. properties:
  836. key:
  837. description: The key of the entry in the Secret
  838. resource's `data` field to be used. Some instances
  839. of this field may be defaulted, in others it
  840. may be required.
  841. type: string
  842. name:
  843. description: The name of the Secret resource being
  844. referred to.
  845. type: string
  846. namespace:
  847. description: Namespace of the resource being referred
  848. to. Ignored if referent is not cluster-scoped.
  849. cluster-scoped defaults to the namespace of
  850. the referent.
  851. type: string
  852. type: object
  853. required:
  854. - path
  855. - roleId
  856. - secretRef
  857. type: object
  858. cert:
  859. description: Cert authenticates with TLS Certificates
  860. by passing client certificate, private key and ca certificate
  861. Cert authentication method
  862. properties:
  863. clientCert:
  864. description: ClientCert is a certificate to authenticate
  865. using the Cert Vault authentication method
  866. properties:
  867. key:
  868. description: The key of the entry in the Secret
  869. resource's `data` field to be used. Some instances
  870. of this field may be defaulted, in others it
  871. may be required.
  872. type: string
  873. name:
  874. description: The name of the Secret resource being
  875. referred to.
  876. type: string
  877. namespace:
  878. description: Namespace of the resource being referred
  879. to. Ignored if referent is not cluster-scoped.
  880. cluster-scoped defaults to the namespace of
  881. the referent.
  882. type: string
  883. type: object
  884. secretRef:
  885. description: SecretRef to a key in a Secret resource
  886. containing client private key to authenticate with
  887. Vault using the Cert authentication method
  888. properties:
  889. key:
  890. description: The key of the entry in the Secret
  891. resource's `data` field to be used. Some instances
  892. of this field may be defaulted, in others it
  893. may be required.
  894. type: string
  895. name:
  896. description: The name of the Secret resource being
  897. referred to.
  898. type: string
  899. namespace:
  900. description: Namespace of the resource being referred
  901. to. Ignored if referent is not cluster-scoped.
  902. cluster-scoped defaults to the namespace of
  903. the referent.
  904. type: string
  905. type: object
  906. type: object
  907. jwt:
  908. description: Jwt authenticates with Vault by passing role
  909. and JWT token using the JWT/OIDC authentication method
  910. properties:
  911. kubernetesServiceAccountToken:
  912. description: Optional ServiceAccountToken specifies
  913. the Kubernetes service account for which to request
  914. a token for with the `TokenRequest` API.
  915. properties:
  916. audiences:
  917. description: Optional audiences field that will
  918. be used to request a temporary Kubernetes service
  919. account token for the service account referenced
  920. by `serviceAccountRef`. Defaults to a single
  921. audience `vault` it not specified.
  922. items:
  923. type: string
  924. type: array
  925. expirationSeconds:
  926. description: Optional expiration time in seconds
  927. that will be used to request a temporary Kubernetes
  928. service account token for the service account
  929. referenced by `serviceAccountRef`. Defaults
  930. to 10 minutes.
  931. format: int64
  932. type: integer
  933. serviceAccountRef:
  934. description: Service account field containing
  935. the name of a kubernetes ServiceAccount.
  936. properties:
  937. name:
  938. description: The name of the ServiceAccount
  939. resource being referred to.
  940. type: string
  941. namespace:
  942. description: Namespace of the resource being
  943. referred to. Ignored if referent is not
  944. cluster-scoped. cluster-scoped defaults
  945. to the namespace of the referent.
  946. type: string
  947. required:
  948. - name
  949. type: object
  950. required:
  951. - serviceAccountRef
  952. type: object
  953. path:
  954. default: jwt
  955. description: 'Path where the JWT authentication backend
  956. is mounted in Vault, e.g: "jwt"'
  957. type: string
  958. role:
  959. description: Role is a JWT role to authenticate using
  960. the JWT/OIDC Vault authentication method
  961. type: string
  962. secretRef:
  963. description: Optional SecretRef that refers to a key
  964. in a Secret resource containing JWT token to authenticate
  965. with Vault using the JWT/OIDC authentication method.
  966. properties:
  967. key:
  968. description: The key of the entry in the Secret
  969. resource's `data` field to be used. Some instances
  970. of this field may be defaulted, in others it
  971. may be required.
  972. type: string
  973. name:
  974. description: The name of the Secret resource being
  975. referred to.
  976. type: string
  977. namespace:
  978. description: Namespace of the resource being referred
  979. to. Ignored if referent is not cluster-scoped.
  980. cluster-scoped defaults to the namespace of
  981. the referent.
  982. type: string
  983. type: object
  984. required:
  985. - path
  986. type: object
  987. kubernetes:
  988. description: Kubernetes authenticates with Vault by passing
  989. the ServiceAccount token stored in the named Secret
  990. resource to the Vault server.
  991. properties:
  992. mountPath:
  993. default: kubernetes
  994. description: 'Path where the Kubernetes authentication
  995. backend is mounted in Vault, e.g: "kubernetes"'
  996. type: string
  997. role:
  998. description: A required field containing the Vault
  999. Role to assume. A Role binds a Kubernetes ServiceAccount
  1000. with a set of Vault policies.
  1001. type: string
  1002. secretRef:
  1003. description: Optional secret field containing a Kubernetes
  1004. ServiceAccount JWT used for authenticating with
  1005. Vault. If a name is specified without a key, `token`
  1006. is the default. If one is not specified, the one
  1007. bound to the controller will be used.
  1008. properties:
  1009. key:
  1010. description: The key of the entry in the Secret
  1011. resource's `data` field to be used. Some instances
  1012. of this field may be defaulted, in others it
  1013. may be required.
  1014. type: string
  1015. name:
  1016. description: The name of the Secret resource being
  1017. referred to.
  1018. type: string
  1019. namespace:
  1020. description: Namespace of the resource being referred
  1021. to. Ignored if referent is not cluster-scoped.
  1022. cluster-scoped defaults to the namespace of
  1023. the referent.
  1024. type: string
  1025. type: object
  1026. serviceAccountRef:
  1027. description: Optional service account field containing
  1028. the name of a kubernetes ServiceAccount. If the
  1029. service account is specified, the service account
  1030. secret token JWT will be used for authenticating
  1031. with Vault. If the service account selector is not
  1032. supplied, the secretRef will be used instead.
  1033. properties:
  1034. name:
  1035. description: The name of the ServiceAccount resource
  1036. being referred to.
  1037. type: string
  1038. namespace:
  1039. description: Namespace of the resource being referred
  1040. to. Ignored if referent is not cluster-scoped.
  1041. cluster-scoped defaults to the namespace of
  1042. the referent.
  1043. type: string
  1044. required:
  1045. - name
  1046. type: object
  1047. required:
  1048. - mountPath
  1049. - role
  1050. type: object
  1051. ldap:
  1052. description: Ldap authenticates with Vault by passing
  1053. username/password pair using the LDAP authentication
  1054. method
  1055. properties:
  1056. path:
  1057. default: ldap
  1058. description: 'Path where the LDAP authentication backend
  1059. is mounted in Vault, e.g: "ldap"'
  1060. type: string
  1061. secretRef:
  1062. description: SecretRef to a key in a Secret resource
  1063. containing password for the LDAP user used to authenticate
  1064. with Vault using the LDAP authentication method
  1065. properties:
  1066. key:
  1067. description: The key of the entry in the Secret
  1068. resource's `data` field to be used. Some instances
  1069. of this field may be defaulted, in others it
  1070. may be required.
  1071. type: string
  1072. name:
  1073. description: The name of the Secret resource being
  1074. referred to.
  1075. type: string
  1076. namespace:
  1077. description: Namespace of the resource being referred
  1078. to. Ignored if referent is not cluster-scoped.
  1079. cluster-scoped defaults to the namespace of
  1080. the referent.
  1081. type: string
  1082. type: object
  1083. username:
  1084. description: Username is a LDAP user name used to
  1085. authenticate using the LDAP Vault authentication
  1086. method
  1087. type: string
  1088. required:
  1089. - path
  1090. - username
  1091. type: object
  1092. tokenSecretRef:
  1093. description: TokenSecretRef authenticates with Vault by
  1094. presenting a token.
  1095. properties:
  1096. key:
  1097. description: The key of the entry in the Secret resource's
  1098. `data` field to be used. Some instances of this
  1099. field may be defaulted, in others it may be required.
  1100. type: string
  1101. name:
  1102. description: The name of the Secret resource being
  1103. referred to.
  1104. type: string
  1105. namespace:
  1106. description: Namespace of the resource being referred
  1107. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1108. defaults to the namespace of the referent.
  1109. type: string
  1110. type: object
  1111. type: object
  1112. caBundle:
  1113. description: PEM encoded CA bundle used to validate Vault
  1114. server certificate. Only used if the Server URL is using
  1115. HTTPS protocol. This parameter is ignored for plain HTTP
  1116. protocol connection. If not set the system root certificates
  1117. are used to validate the TLS connection.
  1118. format: byte
  1119. type: string
  1120. caProvider:
  1121. description: The provider for the CA bundle to use to validate
  1122. Vault server certificate.
  1123. properties:
  1124. key:
  1125. description: The key the value inside of the provider
  1126. type to use, only used with "Secret" type
  1127. type: string
  1128. name:
  1129. description: The name of the object located at the provider
  1130. type.
  1131. type: string
  1132. namespace:
  1133. description: The namespace the Provider type is in.
  1134. type: string
  1135. type:
  1136. description: The type of provider to use such as "Secret",
  1137. or "ConfigMap".
  1138. enum:
  1139. - Secret
  1140. - ConfigMap
  1141. type: string
  1142. required:
  1143. - name
  1144. - type
  1145. type: object
  1146. forwardInconsistent:
  1147. description: ForwardInconsistent tells Vault to forward read-after-write
  1148. requests to the Vault leader instead of simply retrying
  1149. within a loop. This can increase performance if the option
  1150. is enabled serverside. https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header
  1151. type: boolean
  1152. namespace:
  1153. description: 'Name of the vault namespace. Namespaces is a
  1154. set of features within Vault Enterprise that allows Vault
  1155. environments to support Secure Multi-tenancy. e.g: "ns1".
  1156. More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces'
  1157. type: string
  1158. path:
  1159. description: 'Path is the mount path of the Vault KV backend
  1160. endpoint, e.g: "secret". The v2 KV secret engine version
  1161. specific "/data" path suffix for fetching secrets from Vault
  1162. is optional and will be appended if not present in specified
  1163. path.'
  1164. type: string
  1165. readYourWrites:
  1166. description: ReadYourWrites ensures isolated read-after-write
  1167. semantics by providing discovered cluster replication states
  1168. in each request. More information about eventual consistency
  1169. in Vault can be found here https://www.vaultproject.io/docs/enterprise/consistency
  1170. type: boolean
  1171. server:
  1172. description: 'Server is the connection address for the Vault
  1173. server, e.g: "https://vault.example.com:8200".'
  1174. type: string
  1175. version:
  1176. default: v2
  1177. description: Version is the Vault KV secret engine version.
  1178. This can be either "v1" or "v2". Version defaults to "v2".
  1179. enum:
  1180. - v1
  1181. - v2
  1182. type: string
  1183. required:
  1184. - auth
  1185. - server
  1186. type: object
  1187. webhook:
  1188. description: Webhook configures this store to sync secrets using
  1189. a generic templated webhook
  1190. properties:
  1191. body:
  1192. description: Body
  1193. type: string
  1194. caBundle:
  1195. description: PEM encoded CA bundle used to validate webhook
  1196. server certificate. Only used if the Server URL is using
  1197. HTTPS protocol. This parameter is ignored for plain HTTP
  1198. protocol connection. If not set the system root certificates
  1199. are used to validate the TLS connection.
  1200. format: byte
  1201. type: string
  1202. caProvider:
  1203. description: The provider for the CA bundle to use to validate
  1204. webhook server certificate.
  1205. properties:
  1206. key:
  1207. description: The key the value inside of the provider
  1208. type to use, only used with "Secret" type
  1209. type: string
  1210. name:
  1211. description: The name of the object located at the provider
  1212. type.
  1213. type: string
  1214. namespace:
  1215. description: The namespace the Provider type is in.
  1216. type: string
  1217. type:
  1218. description: The type of provider to use such as "Secret",
  1219. or "ConfigMap".
  1220. enum:
  1221. - Secret
  1222. - ConfigMap
  1223. type: string
  1224. required:
  1225. - name
  1226. - type
  1227. type: object
  1228. headers:
  1229. additionalProperties:
  1230. type: string
  1231. description: Headers
  1232. type: object
  1233. method:
  1234. description: Webhook Method
  1235. type: string
  1236. result:
  1237. description: Result formatting
  1238. properties:
  1239. jsonPath:
  1240. description: Json path of return value
  1241. type: string
  1242. type: object
  1243. secrets:
  1244. description: Secrets to fill in templates These secrets will
  1245. be passed to the templating function as key value pairs
  1246. under the given name
  1247. items:
  1248. properties:
  1249. name:
  1250. description: Name of this secret in templates
  1251. type: string
  1252. secretRef:
  1253. description: Secret ref to fill in credentials
  1254. properties:
  1255. key:
  1256. description: The key of the entry in the Secret
  1257. resource's `data` field to be used. Some instances
  1258. of this field may be defaulted, in others it may
  1259. be required.
  1260. type: string
  1261. name:
  1262. description: The name of the Secret resource being
  1263. referred to.
  1264. type: string
  1265. namespace:
  1266. description: Namespace of the resource being referred
  1267. to. Ignored if referent is not cluster-scoped.
  1268. cluster-scoped defaults to the namespace of the
  1269. referent.
  1270. type: string
  1271. type: object
  1272. required:
  1273. - name
  1274. - secretRef
  1275. type: object
  1276. type: array
  1277. timeout:
  1278. description: Timeout
  1279. type: string
  1280. url:
  1281. description: Webhook url to call
  1282. type: string
  1283. required:
  1284. - result
  1285. - url
  1286. type: object
  1287. yandexlockbox:
  1288. description: YandexLockbox configures this store to sync secrets
  1289. using Yandex Lockbox provider
  1290. properties:
  1291. apiEndpoint:
  1292. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  1293. type: string
  1294. auth:
  1295. description: Auth defines the information necessary to authenticate
  1296. against Yandex Lockbox
  1297. properties:
  1298. authorizedKeySecretRef:
  1299. description: The authorized key used for authentication
  1300. properties:
  1301. key:
  1302. description: The key of the entry in the Secret resource's
  1303. `data` field to be used. Some instances of this
  1304. field may be defaulted, in others it may be required.
  1305. type: string
  1306. name:
  1307. description: The name of the Secret resource being
  1308. referred to.
  1309. type: string
  1310. namespace:
  1311. description: Namespace of the resource being referred
  1312. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1313. defaults to the namespace of the referent.
  1314. type: string
  1315. type: object
  1316. type: object
  1317. caProvider:
  1318. description: The provider for the CA bundle to use to validate
  1319. Yandex.Cloud server certificate.
  1320. properties:
  1321. certSecretRef:
  1322. description: A reference to a specific 'key' within a
  1323. Secret resource, In some instances, `key` is a required
  1324. field.
  1325. properties:
  1326. key:
  1327. description: The key of the entry in the Secret resource's
  1328. `data` field to be used. Some instances of this
  1329. field may be defaulted, in others it may be required.
  1330. type: string
  1331. name:
  1332. description: The name of the Secret resource being
  1333. referred to.
  1334. type: string
  1335. namespace:
  1336. description: Namespace of the resource being referred
  1337. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1338. defaults to the namespace of the referent.
  1339. type: string
  1340. type: object
  1341. type: object
  1342. required:
  1343. - auth
  1344. type: object
  1345. type: object
  1346. retrySettings:
  1347. description: Used to configure http retries if failed
  1348. properties:
  1349. maxRetries:
  1350. format: int32
  1351. type: integer
  1352. retryInterval:
  1353. type: string
  1354. type: object
  1355. required:
  1356. - provider
  1357. type: object
  1358. status:
  1359. description: SecretStoreStatus defines the observed state of the SecretStore.
  1360. properties:
  1361. conditions:
  1362. items:
  1363. properties:
  1364. lastTransitionTime:
  1365. format: date-time
  1366. type: string
  1367. message:
  1368. type: string
  1369. reason:
  1370. type: string
  1371. status:
  1372. type: string
  1373. type:
  1374. type: string
  1375. required:
  1376. - status
  1377. - type
  1378. type: object
  1379. type: array
  1380. type: object
  1381. type: object
  1382. served: true
  1383. storage: false
  1384. subresources:
  1385. status: {}
  1386. - additionalPrinterColumns:
  1387. - jsonPath: .metadata.creationTimestamp
  1388. name: AGE
  1389. type: date
  1390. name: v1beta1
  1391. schema:
  1392. openAPIV3Schema:
  1393. description: ClusterSecretStore represents a secure external location for
  1394. storing secrets, which can be referenced as part of `storeRef` fields.
  1395. properties:
  1396. apiVersion:
  1397. description: 'APIVersion defines the versioned schema of this representation
  1398. of an object. Servers should convert recognized schemas to the latest
  1399. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  1400. type: string
  1401. kind:
  1402. description: 'Kind is a string value representing the REST resource this
  1403. object represents. Servers may infer this from the endpoint the client
  1404. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  1405. type: string
  1406. metadata:
  1407. type: object
  1408. spec:
  1409. description: SecretStoreSpec defines the desired state of SecretStore.
  1410. properties:
  1411. controller:
  1412. description: 'Used to select the correct KES controller (think: ingress.ingressClassName)
  1413. The KES controller is instantiated with a specific controller name
  1414. and filters ES based on this property'
  1415. type: string
  1416. provider:
  1417. description: Used to configure the provider. Only one provider may
  1418. be set
  1419. maxProperties: 1
  1420. minProperties: 1
  1421. properties:
  1422. akeyless:
  1423. description: Akeyless configures this store to sync secrets using
  1424. Akeyless Vault provider
  1425. properties:
  1426. akeylessGWApiURL:
  1427. description: Akeyless GW API Url from which the secrets to
  1428. be fetched from.
  1429. type: string
  1430. authSecretRef:
  1431. description: Auth configures how the operator authenticates
  1432. with Akeyless.
  1433. properties:
  1434. secretRef:
  1435. description: 'AkeylessAuthSecretRef AKEYLESS_ACCESS_TYPE_PARAM:
  1436. AZURE_OBJ_ID OR GCP_AUDIENCE OR ACCESS_KEY OR KUB_CONFIG_NAME.'
  1437. properties:
  1438. accessID:
  1439. description: The SecretAccessID is used for authentication
  1440. properties:
  1441. key:
  1442. description: The key of the entry in the Secret
  1443. resource's `data` field to be used. Some instances
  1444. of this field may be defaulted, in others it
  1445. may be required.
  1446. type: string
  1447. name:
  1448. description: The name of the Secret resource being
  1449. referred to.
  1450. type: string
  1451. namespace:
  1452. description: Namespace of the resource being referred
  1453. to. Ignored if referent is not cluster-scoped.
  1454. cluster-scoped defaults to the namespace of
  1455. the referent.
  1456. type: string
  1457. type: object
  1458. accessType:
  1459. description: A reference to a specific 'key' within
  1460. a Secret resource, In some instances, `key` is a
  1461. required field.
  1462. properties:
  1463. key:
  1464. description: The key of the entry in the Secret
  1465. resource's `data` field to be used. Some instances
  1466. of this field may be defaulted, in others it
  1467. may be required.
  1468. type: string
  1469. name:
  1470. description: The name of the Secret resource being
  1471. referred to.
  1472. type: string
  1473. namespace:
  1474. description: Namespace of the resource being referred
  1475. to. Ignored if referent is not cluster-scoped.
  1476. cluster-scoped defaults to the namespace of
  1477. the referent.
  1478. type: string
  1479. type: object
  1480. accessTypeParam:
  1481. description: A reference to a specific 'key' within
  1482. a Secret resource, In some instances, `key` is a
  1483. required field.
  1484. properties:
  1485. key:
  1486. description: The key of the entry in the Secret
  1487. resource's `data` field to be used. Some instances
  1488. of this field may be defaulted, in others it
  1489. may be required.
  1490. type: string
  1491. name:
  1492. description: The name of the Secret resource being
  1493. referred to.
  1494. type: string
  1495. namespace:
  1496. description: Namespace of the resource being referred
  1497. to. Ignored if referent is not cluster-scoped.
  1498. cluster-scoped defaults to the namespace of
  1499. the referent.
  1500. type: string
  1501. type: object
  1502. type: object
  1503. required:
  1504. - secretRef
  1505. type: object
  1506. required:
  1507. - akeylessGWApiURL
  1508. - authSecretRef
  1509. type: object
  1510. alibaba:
  1511. description: Alibaba configures this store to sync secrets using
  1512. Alibaba Cloud provider
  1513. properties:
  1514. auth:
  1515. description: AlibabaAuth contains a secretRef for credentials.
  1516. properties:
  1517. secretRef:
  1518. description: AlibabaAuthSecretRef holds secret references
  1519. for Alibaba credentials.
  1520. properties:
  1521. accessKeyIDSecretRef:
  1522. description: The AccessKeyID is used for authentication
  1523. properties:
  1524. key:
  1525. description: The key of the entry in the Secret
  1526. resource's `data` field to be used. Some instances
  1527. of this field may be defaulted, in others it
  1528. may be required.
  1529. type: string
  1530. name:
  1531. description: The name of the Secret resource being
  1532. referred to.
  1533. type: string
  1534. namespace:
  1535. description: Namespace of the resource being referred
  1536. to. Ignored if referent is not cluster-scoped.
  1537. cluster-scoped defaults to the namespace of
  1538. the referent.
  1539. type: string
  1540. type: object
  1541. accessKeySecretSecretRef:
  1542. description: The AccessKeySecret is used for authentication
  1543. properties:
  1544. key:
  1545. description: The key of the entry in the Secret
  1546. resource's `data` field to be used. Some instances
  1547. of this field may be defaulted, in others it
  1548. may be required.
  1549. type: string
  1550. name:
  1551. description: The name of the Secret resource being
  1552. referred to.
  1553. type: string
  1554. namespace:
  1555. description: Namespace of the resource being referred
  1556. to. Ignored if referent is not cluster-scoped.
  1557. cluster-scoped defaults to the namespace of
  1558. the referent.
  1559. type: string
  1560. type: object
  1561. required:
  1562. - accessKeyIDSecretRef
  1563. - accessKeySecretSecretRef
  1564. type: object
  1565. required:
  1566. - secretRef
  1567. type: object
  1568. endpoint:
  1569. type: string
  1570. regionID:
  1571. description: Alibaba Region to be used for the provider
  1572. type: string
  1573. required:
  1574. - auth
  1575. - regionID
  1576. type: object
  1577. aws:
  1578. description: AWS configures this store to sync secrets using AWS
  1579. Secret Manager provider
  1580. properties:
  1581. auth:
  1582. description: 'Auth defines the information necessary to authenticate
  1583. against AWS if not set aws sdk will infer credentials from
  1584. your environment see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials'
  1585. properties:
  1586. jwt:
  1587. description: Authenticate against AWS using service account
  1588. tokens.
  1589. properties:
  1590. serviceAccountRef:
  1591. description: A reference to a ServiceAccount resource.
  1592. properties:
  1593. name:
  1594. description: The name of the ServiceAccount resource
  1595. being referred to.
  1596. type: string
  1597. namespace:
  1598. description: Namespace of the resource being referred
  1599. to. Ignored if referent is not cluster-scoped.
  1600. cluster-scoped defaults to the namespace of
  1601. the referent.
  1602. type: string
  1603. required:
  1604. - name
  1605. type: object
  1606. type: object
  1607. secretRef:
  1608. description: AWSAuthSecretRef holds secret references
  1609. for AWS credentials both AccessKeyID and SecretAccessKey
  1610. must be defined in order to properly authenticate.
  1611. properties:
  1612. accessKeyIDSecretRef:
  1613. description: The AccessKeyID is used for authentication
  1614. properties:
  1615. key:
  1616. description: The key of the entry in the Secret
  1617. resource's `data` field to be used. Some instances
  1618. of this field may be defaulted, in others it
  1619. may be required.
  1620. type: string
  1621. name:
  1622. description: The name of the Secret resource being
  1623. referred to.
  1624. type: string
  1625. namespace:
  1626. description: Namespace of the resource being referred
  1627. to. Ignored if referent is not cluster-scoped.
  1628. cluster-scoped defaults to the namespace of
  1629. the referent.
  1630. type: string
  1631. type: object
  1632. secretAccessKeySecretRef:
  1633. description: The SecretAccessKey is used for authentication
  1634. properties:
  1635. key:
  1636. description: The key of the entry in the Secret
  1637. resource's `data` field to be used. Some instances
  1638. of this field may be defaulted, in others it
  1639. may be required.
  1640. type: string
  1641. name:
  1642. description: The name of the Secret resource being
  1643. referred to.
  1644. type: string
  1645. namespace:
  1646. description: Namespace of the resource being referred
  1647. to. Ignored if referent is not cluster-scoped.
  1648. cluster-scoped defaults to the namespace of
  1649. the referent.
  1650. type: string
  1651. type: object
  1652. type: object
  1653. type: object
  1654. region:
  1655. description: AWS Region to be used for the provider
  1656. type: string
  1657. role:
  1658. description: Role is a Role ARN which the SecretManager provider
  1659. will assume
  1660. type: string
  1661. service:
  1662. description: Service defines which service should be used
  1663. to fetch the secrets
  1664. enum:
  1665. - SecretsManager
  1666. - ParameterStore
  1667. type: string
  1668. sessionCache:
  1669. description: SessionCache defines if the AWS session should
  1670. be reused, if not set the operator will issues a fresh session
  1671. for each request.
  1672. type: boolean
  1673. required:
  1674. - region
  1675. - service
  1676. type: object
  1677. azurekv:
  1678. description: AzureKV configures this store to sync secrets using
  1679. Azure Key Vault provider
  1680. properties:
  1681. authSecretRef:
  1682. description: Auth configures how the operator authenticates
  1683. with Azure. Required for ServicePrincipal auth type.
  1684. properties:
  1685. clientId:
  1686. description: The Azure clientId of the service principle
  1687. used for authentication.
  1688. properties:
  1689. key:
  1690. description: The key of the entry in the Secret resource's
  1691. `data` field to be used. Some instances of this
  1692. field may be defaulted, in others it may be required.
  1693. type: string
  1694. name:
  1695. description: The name of the Secret resource being
  1696. referred to.
  1697. type: string
  1698. namespace:
  1699. description: Namespace of the resource being referred
  1700. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1701. defaults to the namespace of the referent.
  1702. type: string
  1703. type: object
  1704. clientSecret:
  1705. description: The Azure ClientSecret of the service principle
  1706. used for authentication.
  1707. properties:
  1708. key:
  1709. description: The key of the entry in the Secret resource's
  1710. `data` field to be used. Some instances of this
  1711. field may be defaulted, in others it may be required.
  1712. type: string
  1713. name:
  1714. description: The name of the Secret resource being
  1715. referred to.
  1716. type: string
  1717. namespace:
  1718. description: Namespace of the resource being referred
  1719. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1720. defaults to the namespace of the referent.
  1721. type: string
  1722. type: object
  1723. type: object
  1724. authType:
  1725. default: ServicePrincipal
  1726. description: 'Auth type defines how to authenticate to the
  1727. keyvault service. Valid values are: - "ServicePrincipal"
  1728. (default): Using a service principal (tenantId, clientId,
  1729. clientSecret) - "ManagedIdentity": Using Managed Identity
  1730. assigned to the pod (see aad-pod-identity)'
  1731. enum:
  1732. - ServicePrincipal
  1733. - ManagedIdentity
  1734. - WorkloadIdentity
  1735. type: string
  1736. identityId:
  1737. description: If multiple Managed Identity is assigned to the
  1738. pod, you can select the one to be used
  1739. type: string
  1740. serviceAccountRef:
  1741. description: ServiceAccountRef specified the service account
  1742. that should be used when authenticating with WorkloadIdentity.
  1743. properties:
  1744. name:
  1745. description: The name of the ServiceAccount resource being
  1746. referred to.
  1747. type: string
  1748. namespace:
  1749. description: Namespace of the resource being referred
  1750. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1751. defaults to the namespace of the referent.
  1752. type: string
  1753. required:
  1754. - name
  1755. type: object
  1756. tenantId:
  1757. description: TenantID configures the Azure Tenant to send
  1758. requests to. Required for ServicePrincipal auth type.
  1759. type: string
  1760. vaultUrl:
  1761. description: Vault Url from which the secrets to be fetched
  1762. from.
  1763. type: string
  1764. required:
  1765. - vaultUrl
  1766. type: object
  1767. fake:
  1768. description: Fake configures a store with static key/value pairs
  1769. properties:
  1770. data:
  1771. items:
  1772. properties:
  1773. key:
  1774. type: string
  1775. value:
  1776. type: string
  1777. valueMap:
  1778. additionalProperties:
  1779. type: string
  1780. type: object
  1781. version:
  1782. type: string
  1783. required:
  1784. - key
  1785. type: object
  1786. type: array
  1787. required:
  1788. - data
  1789. type: object
  1790. gcpsm:
  1791. description: GCPSM configures this store to sync secrets using
  1792. Google Cloud Platform Secret Manager provider
  1793. properties:
  1794. auth:
  1795. description: Auth defines the information necessary to authenticate
  1796. against GCP
  1797. properties:
  1798. secretRef:
  1799. properties:
  1800. secretAccessKeySecretRef:
  1801. description: The SecretAccessKey is used for authentication
  1802. properties:
  1803. key:
  1804. description: The key of the entry in the Secret
  1805. resource's `data` field to be used. Some instances
  1806. of this field may be defaulted, in others it
  1807. may be required.
  1808. type: string
  1809. name:
  1810. description: The name of the Secret resource being
  1811. referred to.
  1812. type: string
  1813. namespace:
  1814. description: Namespace of the resource being referred
  1815. to. Ignored if referent is not cluster-scoped.
  1816. cluster-scoped defaults to the namespace of
  1817. the referent.
  1818. type: string
  1819. type: object
  1820. type: object
  1821. workloadIdentity:
  1822. properties:
  1823. clusterLocation:
  1824. type: string
  1825. clusterName:
  1826. type: string
  1827. clusterProjectID:
  1828. type: string
  1829. serviceAccountRef:
  1830. description: A reference to a ServiceAccount resource.
  1831. properties:
  1832. name:
  1833. description: The name of the ServiceAccount resource
  1834. being referred to.
  1835. type: string
  1836. namespace:
  1837. description: Namespace of the resource being referred
  1838. to. Ignored if referent is not cluster-scoped.
  1839. cluster-scoped defaults to the namespace of
  1840. the referent.
  1841. type: string
  1842. required:
  1843. - name
  1844. type: object
  1845. required:
  1846. - clusterLocation
  1847. - clusterName
  1848. - serviceAccountRef
  1849. type: object
  1850. type: object
  1851. projectID:
  1852. description: ProjectID project where secret is located
  1853. type: string
  1854. type: object
  1855. gitlab:
  1856. description: Gitlab configures this store to sync secrets using
  1857. Gitlab Variables provider
  1858. properties:
  1859. auth:
  1860. description: Auth configures how secret-manager authenticates
  1861. with a GitLab instance.
  1862. properties:
  1863. SecretRef:
  1864. properties:
  1865. accessToken:
  1866. description: AccessToken is used for authentication.
  1867. properties:
  1868. key:
  1869. description: The key of the entry in the Secret
  1870. resource's `data` field to be used. Some instances
  1871. of this field may be defaulted, in others it
  1872. may be required.
  1873. type: string
  1874. name:
  1875. description: The name of the Secret resource being
  1876. referred to.
  1877. type: string
  1878. namespace:
  1879. description: Namespace of the resource being referred
  1880. to. Ignored if referent is not cluster-scoped.
  1881. cluster-scoped defaults to the namespace of
  1882. the referent.
  1883. type: string
  1884. type: object
  1885. type: object
  1886. required:
  1887. - SecretRef
  1888. type: object
  1889. projectID:
  1890. description: ProjectID specifies a project where secrets are
  1891. located.
  1892. type: string
  1893. url:
  1894. description: URL configures the GitLab instance URL. Defaults
  1895. to https://gitlab.com/.
  1896. type: string
  1897. required:
  1898. - auth
  1899. type: object
  1900. ibm:
  1901. description: IBM configures this store to sync secrets using IBM
  1902. Cloud provider
  1903. properties:
  1904. auth:
  1905. description: Auth configures how secret-manager authenticates
  1906. with the IBM secrets manager.
  1907. properties:
  1908. secretRef:
  1909. properties:
  1910. secretApiKeySecretRef:
  1911. description: The SecretAccessKey is used for authentication
  1912. properties:
  1913. key:
  1914. description: The key of the entry in the Secret
  1915. resource's `data` field to be used. Some instances
  1916. of this field may be defaulted, in others it
  1917. may be required.
  1918. type: string
  1919. name:
  1920. description: The name of the Secret resource being
  1921. referred to.
  1922. type: string
  1923. namespace:
  1924. description: Namespace of the resource being referred
  1925. to. Ignored if referent is not cluster-scoped.
  1926. cluster-scoped defaults to the namespace of
  1927. the referent.
  1928. type: string
  1929. type: object
  1930. type: object
  1931. required:
  1932. - secretRef
  1933. type: object
  1934. serviceUrl:
  1935. description: ServiceURL is the Endpoint URL that is specific
  1936. to the Secrets Manager service instance
  1937. type: string
  1938. required:
  1939. - auth
  1940. type: object
  1941. kubernetes:
  1942. description: Kubernetes configures this store to sync secrets
  1943. using a Kubernetes cluster provider
  1944. properties:
  1945. auth:
  1946. description: Auth configures how secret-manager authenticates
  1947. with a Kubernetes instance.
  1948. maxProperties: 1
  1949. minProperties: 1
  1950. properties:
  1951. cert:
  1952. description: has both clientCert and clientKey as secretKeySelector
  1953. properties:
  1954. clientCert:
  1955. description: A reference to a specific 'key' within
  1956. a Secret resource, In some instances, `key` is a
  1957. required field.
  1958. properties:
  1959. key:
  1960. description: The key of the entry in the Secret
  1961. resource's `data` field to be used. Some instances
  1962. of this field may be defaulted, in others it
  1963. may be required.
  1964. type: string
  1965. name:
  1966. description: The name of the Secret resource being
  1967. referred to.
  1968. type: string
  1969. namespace:
  1970. description: Namespace of the resource being referred
  1971. to. Ignored if referent is not cluster-scoped.
  1972. cluster-scoped defaults to the namespace of
  1973. the referent.
  1974. type: string
  1975. type: object
  1976. clientKey:
  1977. description: A reference to a specific 'key' within
  1978. a Secret resource, In some instances, `key` is a
  1979. required field.
  1980. properties:
  1981. key:
  1982. description: The key of the entry in the Secret
  1983. resource's `data` field to be used. Some instances
  1984. of this field may be defaulted, in others it
  1985. may be required.
  1986. type: string
  1987. name:
  1988. description: The name of the Secret resource being
  1989. referred to.
  1990. type: string
  1991. namespace:
  1992. description: Namespace of the resource being referred
  1993. to. Ignored if referent is not cluster-scoped.
  1994. cluster-scoped defaults to the namespace of
  1995. the referent.
  1996. type: string
  1997. type: object
  1998. type: object
  1999. serviceAccount:
  2000. description: points to a service account that should be
  2001. used for authentication
  2002. properties:
  2003. serviceAccount:
  2004. description: A reference to a ServiceAccount resource.
  2005. properties:
  2006. name:
  2007. description: The name of the ServiceAccount resource
  2008. being referred to.
  2009. type: string
  2010. namespace:
  2011. description: Namespace of the resource being referred
  2012. to. Ignored if referent is not cluster-scoped.
  2013. cluster-scoped defaults to the namespace of
  2014. the referent.
  2015. type: string
  2016. required:
  2017. - name
  2018. type: object
  2019. type: object
  2020. token:
  2021. description: use static token to authenticate with
  2022. properties:
  2023. bearerToken:
  2024. description: A reference to a specific 'key' within
  2025. a Secret resource, In some instances, `key` is a
  2026. required field.
  2027. properties:
  2028. key:
  2029. description: The key of the entry in the Secret
  2030. resource's `data` field to be used. Some instances
  2031. of this field may be defaulted, in others it
  2032. may be required.
  2033. type: string
  2034. name:
  2035. description: The name of the Secret resource being
  2036. referred to.
  2037. type: string
  2038. namespace:
  2039. description: Namespace of the resource being referred
  2040. to. Ignored if referent is not cluster-scoped.
  2041. cluster-scoped defaults to the namespace of
  2042. the referent.
  2043. type: string
  2044. type: object
  2045. type: object
  2046. type: object
  2047. remoteNamespace:
  2048. default: default
  2049. description: Remote namespace to fetch the secrets from
  2050. type: string
  2051. server:
  2052. description: configures the Kubernetes server Address.
  2053. properties:
  2054. caBundle:
  2055. description: CABundle is a base64-encoded CA certificate
  2056. format: byte
  2057. type: string
  2058. caProvider:
  2059. description: 'see: https://external-secrets.io/v0.4.1/spec/#external-secrets.io/v1alpha1.CAProvider'
  2060. properties:
  2061. key:
  2062. description: The key the value inside of the provider
  2063. type to use, only used with "Secret" type
  2064. type: string
  2065. name:
  2066. description: The name of the object located at the
  2067. provider type.
  2068. type: string
  2069. namespace:
  2070. description: The namespace the Provider type is in.
  2071. type: string
  2072. type:
  2073. description: The type of provider to use such as "Secret",
  2074. or "ConfigMap".
  2075. enum:
  2076. - Secret
  2077. - ConfigMap
  2078. type: string
  2079. required:
  2080. - name
  2081. - type
  2082. type: object
  2083. url:
  2084. default: kubernetes.default
  2085. description: configures the Kubernetes server Address.
  2086. type: string
  2087. type: object
  2088. required:
  2089. - auth
  2090. type: object
  2091. onepassword:
  2092. description: OnePassword configures this store to sync secrets
  2093. using the 1Password Cloud provider
  2094. properties:
  2095. auth:
  2096. description: Auth defines the information necessary to authenticate
  2097. against OnePassword Connect Server
  2098. properties:
  2099. secretRef:
  2100. description: OnePasswordAuthSecretRef holds secret references
  2101. for 1Password credentials.
  2102. properties:
  2103. connectTokenSecretRef:
  2104. description: The ConnectToken is used for authentication
  2105. to a 1Password Connect Server.
  2106. properties:
  2107. key:
  2108. description: The key of the entry in the Secret
  2109. resource's `data` field to be used. Some instances
  2110. of this field may be defaulted, in others it
  2111. may be required.
  2112. type: string
  2113. name:
  2114. description: The name of the Secret resource being
  2115. referred to.
  2116. type: string
  2117. namespace:
  2118. description: Namespace of the resource being referred
  2119. to. Ignored if referent is not cluster-scoped.
  2120. cluster-scoped defaults to the namespace of
  2121. the referent.
  2122. type: string
  2123. type: object
  2124. required:
  2125. - connectTokenSecretRef
  2126. type: object
  2127. required:
  2128. - secretRef
  2129. type: object
  2130. connectHost:
  2131. description: ConnectHost defines the OnePassword Connect Server
  2132. to connect to
  2133. type: string
  2134. vaults:
  2135. additionalProperties:
  2136. type: integer
  2137. description: Vaults defines which OnePassword vaults to search
  2138. in which order
  2139. type: object
  2140. required:
  2141. - auth
  2142. - connectHost
  2143. - vaults
  2144. type: object
  2145. oracle:
  2146. description: Oracle configures this store to sync secrets using
  2147. Oracle Vault provider
  2148. properties:
  2149. auth:
  2150. description: Auth configures how secret-manager authenticates
  2151. with the Oracle Vault. If empty, use the instance principal,
  2152. otherwise the user credentials specified in Auth.
  2153. properties:
  2154. secretRef:
  2155. description: SecretRef to pass through sensitive information.
  2156. properties:
  2157. fingerprint:
  2158. description: Fingerprint is the fingerprint of the
  2159. API private key.
  2160. properties:
  2161. key:
  2162. description: The key of the entry in the Secret
  2163. resource's `data` field to be used. Some instances
  2164. of this field may be defaulted, in others it
  2165. may be required.
  2166. type: string
  2167. name:
  2168. description: The name of the Secret resource being
  2169. referred to.
  2170. type: string
  2171. namespace:
  2172. description: Namespace of the resource being referred
  2173. to. Ignored if referent is not cluster-scoped.
  2174. cluster-scoped defaults to the namespace of
  2175. the referent.
  2176. type: string
  2177. type: object
  2178. privatekey:
  2179. description: PrivateKey is the user's API Signing
  2180. Key in PEM format, used for authentication.
  2181. properties:
  2182. key:
  2183. description: The key of the entry in the Secret
  2184. resource's `data` field to be used. Some instances
  2185. of this field may be defaulted, in others it
  2186. may be required.
  2187. type: string
  2188. name:
  2189. description: The name of the Secret resource being
  2190. referred to.
  2191. type: string
  2192. namespace:
  2193. description: Namespace of the resource being referred
  2194. to. Ignored if referent is not cluster-scoped.
  2195. cluster-scoped defaults to the namespace of
  2196. the referent.
  2197. type: string
  2198. type: object
  2199. required:
  2200. - fingerprint
  2201. - privatekey
  2202. type: object
  2203. tenancy:
  2204. description: Tenancy is the tenancy OCID where user is
  2205. located.
  2206. type: string
  2207. user:
  2208. description: User is an access OCID specific to the account.
  2209. type: string
  2210. required:
  2211. - secretRef
  2212. - tenancy
  2213. - user
  2214. type: object
  2215. region:
  2216. description: Region is the region where vault is located.
  2217. type: string
  2218. vault:
  2219. description: Vault is the vault's OCID of the specific vault
  2220. where secret is located.
  2221. type: string
  2222. required:
  2223. - region
  2224. - vault
  2225. type: object
  2226. senhasegura:
  2227. description: Senhasegura configures this store to sync secrets
  2228. using senhasegura provider
  2229. properties:
  2230. auth:
  2231. description: Auth defines parameters to authenticate in senhasegura
  2232. properties:
  2233. clientId:
  2234. type: string
  2235. clientSecretSecretRef:
  2236. description: A reference to a specific 'key' within a
  2237. Secret resource, In some instances, `key` is a required
  2238. field.
  2239. properties:
  2240. key:
  2241. description: The key of the entry in the Secret resource's
  2242. `data` field to be used. Some instances of this
  2243. field may be defaulted, in others it may be required.
  2244. type: string
  2245. name:
  2246. description: The name of the Secret resource being
  2247. referred to.
  2248. type: string
  2249. namespace:
  2250. description: Namespace of the resource being referred
  2251. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2252. defaults to the namespace of the referent.
  2253. type: string
  2254. type: object
  2255. required:
  2256. - clientId
  2257. - clientSecretSecretRef
  2258. type: object
  2259. ignoreSslCertificate:
  2260. default: false
  2261. description: IgnoreSslCertificate defines if SSL certificate
  2262. must be ignored
  2263. type: boolean
  2264. module:
  2265. description: Module defines which senhasegura module should
  2266. be used to get secrets
  2267. type: string
  2268. url:
  2269. description: URL of senhasegura
  2270. type: string
  2271. required:
  2272. - auth
  2273. - module
  2274. - url
  2275. type: object
  2276. vault:
  2277. description: Vault configures this store to sync secrets using
  2278. Hashi provider
  2279. properties:
  2280. auth:
  2281. description: Auth configures how secret-manager authenticates
  2282. with the Vault server.
  2283. properties:
  2284. appRole:
  2285. description: AppRole authenticates with Vault using the
  2286. App Role auth mechanism, with the role and secret stored
  2287. in a Kubernetes Secret resource.
  2288. properties:
  2289. path:
  2290. default: approle
  2291. description: 'Path where the App Role authentication
  2292. backend is mounted in Vault, e.g: "approle"'
  2293. type: string
  2294. roleId:
  2295. description: RoleID configured in the App Role authentication
  2296. backend when setting up the authentication backend
  2297. in Vault.
  2298. type: string
  2299. secretRef:
  2300. description: Reference to a key in a Secret that contains
  2301. the App Role secret used to authenticate with Vault.
  2302. The `key` field must be specified and denotes which
  2303. entry within the Secret resource is used as the
  2304. app role secret.
  2305. properties:
  2306. key:
  2307. description: The key of the entry in the Secret
  2308. resource's `data` field to be used. Some instances
  2309. of this field may be defaulted, in others it
  2310. may be required.
  2311. type: string
  2312. name:
  2313. description: The name of the Secret resource being
  2314. referred to.
  2315. type: string
  2316. namespace:
  2317. description: Namespace of the resource being referred
  2318. to. Ignored if referent is not cluster-scoped.
  2319. cluster-scoped defaults to the namespace of
  2320. the referent.
  2321. type: string
  2322. type: object
  2323. required:
  2324. - path
  2325. - roleId
  2326. - secretRef
  2327. type: object
  2328. cert:
  2329. description: Cert authenticates with TLS Certificates
  2330. by passing client certificate, private key and ca certificate
  2331. Cert authentication method
  2332. properties:
  2333. clientCert:
  2334. description: ClientCert is a certificate to authenticate
  2335. using the Cert Vault authentication method
  2336. properties:
  2337. key:
  2338. description: The key of the entry in the Secret
  2339. resource's `data` field to be used. Some instances
  2340. of this field may be defaulted, in others it
  2341. may be required.
  2342. type: string
  2343. name:
  2344. description: The name of the Secret resource being
  2345. referred to.
  2346. type: string
  2347. namespace:
  2348. description: Namespace of the resource being referred
  2349. to. Ignored if referent is not cluster-scoped.
  2350. cluster-scoped defaults to the namespace of
  2351. the referent.
  2352. type: string
  2353. type: object
  2354. secretRef:
  2355. description: SecretRef to a key in a Secret resource
  2356. containing client private key to authenticate with
  2357. Vault using the Cert authentication method
  2358. properties:
  2359. key:
  2360. description: The key of the entry in the Secret
  2361. resource's `data` field to be used. Some instances
  2362. of this field may be defaulted, in others it
  2363. may be required.
  2364. type: string
  2365. name:
  2366. description: The name of the Secret resource being
  2367. referred to.
  2368. type: string
  2369. namespace:
  2370. description: Namespace of the resource being referred
  2371. to. Ignored if referent is not cluster-scoped.
  2372. cluster-scoped defaults to the namespace of
  2373. the referent.
  2374. type: string
  2375. type: object
  2376. type: object
  2377. jwt:
  2378. description: Jwt authenticates with Vault by passing role
  2379. and JWT token using the JWT/OIDC authentication method
  2380. properties:
  2381. kubernetesServiceAccountToken:
  2382. description: Optional ServiceAccountToken specifies
  2383. the Kubernetes service account for which to request
  2384. a token for with the `TokenRequest` API.
  2385. properties:
  2386. audiences:
  2387. description: Optional audiences field that will
  2388. be used to request a temporary Kubernetes service
  2389. account token for the service account referenced
  2390. by `serviceAccountRef`. Defaults to a single
  2391. audience `vault` it not specified.
  2392. items:
  2393. type: string
  2394. type: array
  2395. expirationSeconds:
  2396. description: Optional expiration time in seconds
  2397. that will be used to request a temporary Kubernetes
  2398. service account token for the service account
  2399. referenced by `serviceAccountRef`. Defaults
  2400. to 10 minutes.
  2401. format: int64
  2402. type: integer
  2403. serviceAccountRef:
  2404. description: Service account field containing
  2405. the name of a kubernetes ServiceAccount.
  2406. properties:
  2407. name:
  2408. description: The name of the ServiceAccount
  2409. resource being referred to.
  2410. type: string
  2411. namespace:
  2412. description: Namespace of the resource being
  2413. referred to. Ignored if referent is not
  2414. cluster-scoped. cluster-scoped defaults
  2415. to the namespace of the referent.
  2416. type: string
  2417. required:
  2418. - name
  2419. type: object
  2420. required:
  2421. - serviceAccountRef
  2422. type: object
  2423. path:
  2424. default: jwt
  2425. description: 'Path where the JWT authentication backend
  2426. is mounted in Vault, e.g: "jwt"'
  2427. type: string
  2428. role:
  2429. description: Role is a JWT role to authenticate using
  2430. the JWT/OIDC Vault authentication method
  2431. type: string
  2432. secretRef:
  2433. description: Optional SecretRef that refers to a key
  2434. in a Secret resource containing JWT token to authenticate
  2435. with Vault using the JWT/OIDC authentication method.
  2436. properties:
  2437. key:
  2438. description: The key of the entry in the Secret
  2439. resource's `data` field to be used. Some instances
  2440. of this field may be defaulted, in others it
  2441. may be required.
  2442. type: string
  2443. name:
  2444. description: The name of the Secret resource being
  2445. referred to.
  2446. type: string
  2447. namespace:
  2448. description: Namespace of the resource being referred
  2449. to. Ignored if referent is not cluster-scoped.
  2450. cluster-scoped defaults to the namespace of
  2451. the referent.
  2452. type: string
  2453. type: object
  2454. required:
  2455. - path
  2456. type: object
  2457. kubernetes:
  2458. description: Kubernetes authenticates with Vault by passing
  2459. the ServiceAccount token stored in the named Secret
  2460. resource to the Vault server.
  2461. properties:
  2462. mountPath:
  2463. default: kubernetes
  2464. description: 'Path where the Kubernetes authentication
  2465. backend is mounted in Vault, e.g: "kubernetes"'
  2466. type: string
  2467. role:
  2468. description: A required field containing the Vault
  2469. Role to assume. A Role binds a Kubernetes ServiceAccount
  2470. with a set of Vault policies.
  2471. type: string
  2472. secretRef:
  2473. description: Optional secret field containing a Kubernetes
  2474. ServiceAccount JWT used for authenticating with
  2475. Vault. If a name is specified without a key, `token`
  2476. is the default. If one is not specified, the one
  2477. bound to the controller will be used.
  2478. properties:
  2479. key:
  2480. description: The key of the entry in the Secret
  2481. resource's `data` field to be used. Some instances
  2482. of this field may be defaulted, in others it
  2483. may be required.
  2484. type: string
  2485. name:
  2486. description: The name of the Secret resource being
  2487. referred to.
  2488. type: string
  2489. namespace:
  2490. description: Namespace of the resource being referred
  2491. to. Ignored if referent is not cluster-scoped.
  2492. cluster-scoped defaults to the namespace of
  2493. the referent.
  2494. type: string
  2495. type: object
  2496. serviceAccountRef:
  2497. description: Optional service account field containing
  2498. the name of a kubernetes ServiceAccount. If the
  2499. service account is specified, the service account
  2500. secret token JWT will be used for authenticating
  2501. with Vault. If the service account selector is not
  2502. supplied, the secretRef will be used instead.
  2503. properties:
  2504. name:
  2505. description: The name of the ServiceAccount resource
  2506. being referred to.
  2507. type: string
  2508. namespace:
  2509. description: Namespace of the resource being referred
  2510. to. Ignored if referent is not cluster-scoped.
  2511. cluster-scoped defaults to the namespace of
  2512. the referent.
  2513. type: string
  2514. required:
  2515. - name
  2516. type: object
  2517. required:
  2518. - mountPath
  2519. - role
  2520. type: object
  2521. ldap:
  2522. description: Ldap authenticates with Vault by passing
  2523. username/password pair using the LDAP authentication
  2524. method
  2525. properties:
  2526. path:
  2527. default: ldap
  2528. description: 'Path where the LDAP authentication backend
  2529. is mounted in Vault, e.g: "ldap"'
  2530. type: string
  2531. secretRef:
  2532. description: SecretRef to a key in a Secret resource
  2533. containing password for the LDAP user used to authenticate
  2534. with Vault using the LDAP authentication method
  2535. properties:
  2536. key:
  2537. description: The key of the entry in the Secret
  2538. resource's `data` field to be used. Some instances
  2539. of this field may be defaulted, in others it
  2540. may be required.
  2541. type: string
  2542. name:
  2543. description: The name of the Secret resource being
  2544. referred to.
  2545. type: string
  2546. namespace:
  2547. description: Namespace of the resource being referred
  2548. to. Ignored if referent is not cluster-scoped.
  2549. cluster-scoped defaults to the namespace of
  2550. the referent.
  2551. type: string
  2552. type: object
  2553. username:
  2554. description: Username is a LDAP user name used to
  2555. authenticate using the LDAP Vault authentication
  2556. method
  2557. type: string
  2558. required:
  2559. - path
  2560. - username
  2561. type: object
  2562. tokenSecretRef:
  2563. description: TokenSecretRef authenticates with Vault by
  2564. presenting a token.
  2565. properties:
  2566. key:
  2567. description: The key of the entry in the Secret resource's
  2568. `data` field to be used. Some instances of this
  2569. field may be defaulted, in others it may be required.
  2570. type: string
  2571. name:
  2572. description: The name of the Secret resource being
  2573. referred to.
  2574. type: string
  2575. namespace:
  2576. description: Namespace of the resource being referred
  2577. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2578. defaults to the namespace of the referent.
  2579. type: string
  2580. type: object
  2581. type: object
  2582. caBundle:
  2583. description: PEM encoded CA bundle used to validate Vault
  2584. server certificate. Only used if the Server URL is using
  2585. HTTPS protocol. This parameter is ignored for plain HTTP
  2586. protocol connection. If not set the system root certificates
  2587. are used to validate the TLS connection.
  2588. format: byte
  2589. type: string
  2590. caProvider:
  2591. description: The provider for the CA bundle to use to validate
  2592. Vault server certificate.
  2593. properties:
  2594. key:
  2595. description: The key the value inside of the provider
  2596. type to use, only used with "Secret" type
  2597. type: string
  2598. name:
  2599. description: The name of the object located at the provider
  2600. type.
  2601. type: string
  2602. namespace:
  2603. description: The namespace the Provider type is in.
  2604. type: string
  2605. type:
  2606. description: The type of provider to use such as "Secret",
  2607. or "ConfigMap".
  2608. enum:
  2609. - Secret
  2610. - ConfigMap
  2611. type: string
  2612. required:
  2613. - name
  2614. - type
  2615. type: object
  2616. forwardInconsistent:
  2617. description: ForwardInconsistent tells Vault to forward read-after-write
  2618. requests to the Vault leader instead of simply retrying
  2619. within a loop. This can increase performance if the option
  2620. is enabled serverside. https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header
  2621. type: boolean
  2622. namespace:
  2623. description: 'Name of the vault namespace. Namespaces is a
  2624. set of features within Vault Enterprise that allows Vault
  2625. environments to support Secure Multi-tenancy. e.g: "ns1".
  2626. More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces'
  2627. type: string
  2628. path:
  2629. description: 'Path is the mount path of the Vault KV backend
  2630. endpoint, e.g: "secret". The v2 KV secret engine version
  2631. specific "/data" path suffix for fetching secrets from Vault
  2632. is optional and will be appended if not present in specified
  2633. path.'
  2634. type: string
  2635. readYourWrites:
  2636. description: ReadYourWrites ensures isolated read-after-write
  2637. semantics by providing discovered cluster replication states
  2638. in each request. More information about eventual consistency
  2639. in Vault can be found here https://www.vaultproject.io/docs/enterprise/consistency
  2640. type: boolean
  2641. server:
  2642. description: 'Server is the connection address for the Vault
  2643. server, e.g: "https://vault.example.com:8200".'
  2644. type: string
  2645. version:
  2646. default: v2
  2647. description: Version is the Vault KV secret engine version.
  2648. This can be either "v1" or "v2". Version defaults to "v2".
  2649. enum:
  2650. - v1
  2651. - v2
  2652. type: string
  2653. required:
  2654. - auth
  2655. - server
  2656. type: object
  2657. webhook:
  2658. description: Webhook configures this store to sync secrets using
  2659. a generic templated webhook
  2660. properties:
  2661. body:
  2662. description: Body
  2663. type: string
  2664. caBundle:
  2665. description: PEM encoded CA bundle used to validate webhook
  2666. server certificate. Only used if the Server URL is using
  2667. HTTPS protocol. This parameter is ignored for plain HTTP
  2668. protocol connection. If not set the system root certificates
  2669. are used to validate the TLS connection.
  2670. format: byte
  2671. type: string
  2672. caProvider:
  2673. description: The provider for the CA bundle to use to validate
  2674. webhook server certificate.
  2675. properties:
  2676. key:
  2677. description: The key the value inside of the provider
  2678. type to use, only used with "Secret" type
  2679. type: string
  2680. name:
  2681. description: The name of the object located at the provider
  2682. type.
  2683. type: string
  2684. namespace:
  2685. description: The namespace the Provider type is in.
  2686. type: string
  2687. type:
  2688. description: The type of provider to use such as "Secret",
  2689. or "ConfigMap".
  2690. enum:
  2691. - Secret
  2692. - ConfigMap
  2693. type: string
  2694. required:
  2695. - name
  2696. - type
  2697. type: object
  2698. headers:
  2699. additionalProperties:
  2700. type: string
  2701. description: Headers
  2702. type: object
  2703. method:
  2704. description: Webhook Method
  2705. type: string
  2706. result:
  2707. description: Result formatting
  2708. properties:
  2709. jsonPath:
  2710. description: Json path of return value
  2711. type: string
  2712. type: object
  2713. secrets:
  2714. description: Secrets to fill in templates These secrets will
  2715. be passed to the templating function as key value pairs
  2716. under the given name
  2717. items:
  2718. properties:
  2719. name:
  2720. description: Name of this secret in templates
  2721. type: string
  2722. secretRef:
  2723. description: Secret ref to fill in credentials
  2724. properties:
  2725. key:
  2726. description: The key of the entry in the Secret
  2727. resource's `data` field to be used. Some instances
  2728. of this field may be defaulted, in others it may
  2729. be required.
  2730. type: string
  2731. name:
  2732. description: The name of the Secret resource being
  2733. referred to.
  2734. type: string
  2735. namespace:
  2736. description: Namespace of the resource being referred
  2737. to. Ignored if referent is not cluster-scoped.
  2738. cluster-scoped defaults to the namespace of the
  2739. referent.
  2740. type: string
  2741. type: object
  2742. required:
  2743. - name
  2744. - secretRef
  2745. type: object
  2746. type: array
  2747. timeout:
  2748. description: Timeout
  2749. type: string
  2750. url:
  2751. description: Webhook url to call
  2752. type: string
  2753. required:
  2754. - result
  2755. - url
  2756. type: object
  2757. yandexcertificatemanager:
  2758. description: YandexCertificateManager configures this store to
  2759. sync secrets using Yandex Certificate Manager provider
  2760. properties:
  2761. apiEndpoint:
  2762. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  2763. type: string
  2764. auth:
  2765. description: Auth defines the information necessary to authenticate
  2766. against Yandex Certificate Manager
  2767. properties:
  2768. authorizedKeySecretRef:
  2769. description: The authorized key used for authentication
  2770. properties:
  2771. key:
  2772. description: The key of the entry in the Secret resource's
  2773. `data` field to be used. Some instances of this
  2774. field may be defaulted, in others it may be required.
  2775. type: string
  2776. name:
  2777. description: The name of the Secret resource being
  2778. referred to.
  2779. type: string
  2780. namespace:
  2781. description: Namespace of the resource being referred
  2782. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2783. defaults to the namespace of the referent.
  2784. type: string
  2785. type: object
  2786. type: object
  2787. caProvider:
  2788. description: The provider for the CA bundle to use to validate
  2789. Yandex.Cloud server certificate.
  2790. properties:
  2791. certSecretRef:
  2792. description: A reference to a specific 'key' within a
  2793. Secret resource, In some instances, `key` is a required
  2794. field.
  2795. properties:
  2796. key:
  2797. description: The key of the entry in the Secret resource's
  2798. `data` field to be used. Some instances of this
  2799. field may be defaulted, in others it may be required.
  2800. type: string
  2801. name:
  2802. description: The name of the Secret resource being
  2803. referred to.
  2804. type: string
  2805. namespace:
  2806. description: Namespace of the resource being referred
  2807. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2808. defaults to the namespace of the referent.
  2809. type: string
  2810. type: object
  2811. type: object
  2812. required:
  2813. - auth
  2814. type: object
  2815. yandexlockbox:
  2816. description: YandexLockbox configures this store to sync secrets
  2817. using Yandex Lockbox provider
  2818. properties:
  2819. apiEndpoint:
  2820. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  2821. type: string
  2822. auth:
  2823. description: Auth defines the information necessary to authenticate
  2824. against Yandex Lockbox
  2825. properties:
  2826. authorizedKeySecretRef:
  2827. description: The authorized key used for authentication
  2828. properties:
  2829. key:
  2830. description: The key of the entry in the Secret resource's
  2831. `data` field to be used. Some instances of this
  2832. field may be defaulted, in others it may be required.
  2833. type: string
  2834. name:
  2835. description: The name of the Secret resource being
  2836. referred to.
  2837. type: string
  2838. namespace:
  2839. description: Namespace of the resource being referred
  2840. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2841. defaults to the namespace of the referent.
  2842. type: string
  2843. type: object
  2844. type: object
  2845. caProvider:
  2846. description: The provider for the CA bundle to use to validate
  2847. Yandex.Cloud server certificate.
  2848. properties:
  2849. certSecretRef:
  2850. description: A reference to a specific 'key' within a
  2851. Secret resource, In some instances, `key` is a required
  2852. field.
  2853. properties:
  2854. key:
  2855. description: The key of the entry in the Secret resource's
  2856. `data` field to be used. Some instances of this
  2857. field may be defaulted, in others it may be required.
  2858. type: string
  2859. name:
  2860. description: The name of the Secret resource being
  2861. referred to.
  2862. type: string
  2863. namespace:
  2864. description: Namespace of the resource being referred
  2865. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2866. defaults to the namespace of the referent.
  2867. type: string
  2868. type: object
  2869. type: object
  2870. required:
  2871. - auth
  2872. type: object
  2873. type: object
  2874. refreshInterval:
  2875. description: Used to configure store refresh interval in seconds.
  2876. Empty or 0 will default to the controller config.
  2877. type: integer
  2878. retrySettings:
  2879. description: Used to configure http retries if failed
  2880. properties:
  2881. maxRetries:
  2882. format: int32
  2883. type: integer
  2884. retryInterval:
  2885. type: string
  2886. type: object
  2887. required:
  2888. - provider
  2889. type: object
  2890. status:
  2891. description: SecretStoreStatus defines the observed state of the SecretStore.
  2892. properties:
  2893. conditions:
  2894. items:
  2895. properties:
  2896. lastTransitionTime:
  2897. format: date-time
  2898. type: string
  2899. message:
  2900. type: string
  2901. reason:
  2902. type: string
  2903. status:
  2904. type: string
  2905. type:
  2906. type: string
  2907. required:
  2908. - status
  2909. - type
  2910. type: object
  2911. type: array
  2912. type: object
  2913. type: object
  2914. served: true
  2915. storage: true
  2916. subresources:
  2917. status: {}