external-secrets.io_clustersecretstores.yaml 148 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.8.0
  6. creationTimestamp: null
  7. name: clustersecretstores.external-secrets.io
  8. spec:
  9. group: external-secrets.io
  10. names:
  11. categories:
  12. - externalsecrets
  13. kind: ClusterSecretStore
  14. listKind: ClusterSecretStoreList
  15. plural: clustersecretstores
  16. shortNames:
  17. - css
  18. singular: clustersecretstore
  19. scope: Cluster
  20. versions:
  21. - additionalPrinterColumns:
  22. - jsonPath: .metadata.creationTimestamp
  23. name: AGE
  24. type: date
  25. - 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. required:
  1669. - region
  1670. - service
  1671. type: object
  1672. azurekv:
  1673. description: AzureKV configures this store to sync secrets using
  1674. Azure Key Vault provider
  1675. properties:
  1676. authSecretRef:
  1677. description: Auth configures how the operator authenticates
  1678. with Azure. Required for ServicePrincipal auth type.
  1679. properties:
  1680. clientId:
  1681. description: The Azure clientId of the service principle
  1682. used for authentication.
  1683. properties:
  1684. key:
  1685. description: The key of the entry in the Secret resource's
  1686. `data` field to be used. Some instances of this
  1687. field may be defaulted, in others it may be required.
  1688. type: string
  1689. name:
  1690. description: The name of the Secret resource being
  1691. referred to.
  1692. type: string
  1693. namespace:
  1694. description: Namespace of the resource being referred
  1695. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1696. defaults to the namespace of the referent.
  1697. type: string
  1698. type: object
  1699. clientSecret:
  1700. description: The Azure ClientSecret of the service principle
  1701. used for authentication.
  1702. properties:
  1703. key:
  1704. description: The key of the entry in the Secret resource's
  1705. `data` field to be used. Some instances of this
  1706. field may be defaulted, in others it may be required.
  1707. type: string
  1708. name:
  1709. description: The name of the Secret resource being
  1710. referred to.
  1711. type: string
  1712. namespace:
  1713. description: Namespace of the resource being referred
  1714. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1715. defaults to the namespace of the referent.
  1716. type: string
  1717. type: object
  1718. type: object
  1719. authType:
  1720. default: ServicePrincipal
  1721. description: 'Auth type defines how to authenticate to the
  1722. keyvault service. Valid values are: - "ServicePrincipal"
  1723. (default): Using a service principal (tenantId, clientId,
  1724. clientSecret) - "ManagedIdentity": Using Managed Identity
  1725. assigned to the pod (see aad-pod-identity)'
  1726. enum:
  1727. - ServicePrincipal
  1728. - ManagedIdentity
  1729. - WorkloadIdentity
  1730. type: string
  1731. identityId:
  1732. description: If multiple Managed Identity is assigned to the
  1733. pod, you can select the one to be used
  1734. type: string
  1735. serviceAccountRef:
  1736. description: ServiceAccountRef specified the service account
  1737. that should be used when authenticating with WorkloadIdentity.
  1738. properties:
  1739. name:
  1740. description: The name of the ServiceAccount resource being
  1741. referred to.
  1742. type: string
  1743. namespace:
  1744. description: Namespace of the resource being referred
  1745. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1746. defaults to the namespace of the referent.
  1747. type: string
  1748. required:
  1749. - name
  1750. type: object
  1751. tenantId:
  1752. description: TenantID configures the Azure Tenant to send
  1753. requests to. Required for ServicePrincipal auth type.
  1754. type: string
  1755. vaultUrl:
  1756. description: Vault Url from which the secrets to be fetched
  1757. from.
  1758. type: string
  1759. required:
  1760. - vaultUrl
  1761. type: object
  1762. fake:
  1763. description: Fake configures a store with static key/value pairs
  1764. properties:
  1765. data:
  1766. items:
  1767. properties:
  1768. key:
  1769. type: string
  1770. value:
  1771. type: string
  1772. valueMap:
  1773. additionalProperties:
  1774. type: string
  1775. type: object
  1776. version:
  1777. type: string
  1778. required:
  1779. - key
  1780. type: object
  1781. type: array
  1782. required:
  1783. - data
  1784. type: object
  1785. gcpsm:
  1786. description: GCPSM configures this store to sync secrets using
  1787. Google Cloud Platform Secret Manager provider
  1788. properties:
  1789. auth:
  1790. description: Auth defines the information necessary to authenticate
  1791. against GCP
  1792. properties:
  1793. secretRef:
  1794. properties:
  1795. secretAccessKeySecretRef:
  1796. description: The SecretAccessKey is used for authentication
  1797. properties:
  1798. key:
  1799. description: The key of the entry in the Secret
  1800. resource's `data` field to be used. Some instances
  1801. of this field may be defaulted, in others it
  1802. may be required.
  1803. type: string
  1804. name:
  1805. description: The name of the Secret resource being
  1806. referred to.
  1807. type: string
  1808. namespace:
  1809. description: Namespace of the resource being referred
  1810. to. Ignored if referent is not cluster-scoped.
  1811. cluster-scoped defaults to the namespace of
  1812. the referent.
  1813. type: string
  1814. type: object
  1815. type: object
  1816. workloadIdentity:
  1817. properties:
  1818. clusterLocation:
  1819. type: string
  1820. clusterName:
  1821. type: string
  1822. clusterProjectID:
  1823. type: string
  1824. serviceAccountRef:
  1825. description: A reference to a ServiceAccount resource.
  1826. properties:
  1827. name:
  1828. description: The name of the ServiceAccount resource
  1829. being referred to.
  1830. type: string
  1831. namespace:
  1832. description: Namespace of the resource being referred
  1833. to. Ignored if referent is not cluster-scoped.
  1834. cluster-scoped defaults to the namespace of
  1835. the referent.
  1836. type: string
  1837. required:
  1838. - name
  1839. type: object
  1840. required:
  1841. - clusterLocation
  1842. - clusterName
  1843. - serviceAccountRef
  1844. type: object
  1845. type: object
  1846. projectID:
  1847. description: ProjectID project where secret is located
  1848. type: string
  1849. type: object
  1850. gitlab:
  1851. description: GItlab configures this store to sync secrets using
  1852. Gitlab Variables provider
  1853. properties:
  1854. auth:
  1855. description: Auth configures how secret-manager authenticates
  1856. with a GitLab instance.
  1857. properties:
  1858. SecretRef:
  1859. properties:
  1860. accessToken:
  1861. description: AccessToken is used for authentication.
  1862. properties:
  1863. key:
  1864. description: The key of the entry in the Secret
  1865. resource's `data` field to be used. Some instances
  1866. of this field may be defaulted, in others it
  1867. may be required.
  1868. type: string
  1869. name:
  1870. description: The name of the Secret resource being
  1871. referred to.
  1872. type: string
  1873. namespace:
  1874. description: Namespace of the resource being referred
  1875. to. Ignored if referent is not cluster-scoped.
  1876. cluster-scoped defaults to the namespace of
  1877. the referent.
  1878. type: string
  1879. type: object
  1880. type: object
  1881. required:
  1882. - SecretRef
  1883. type: object
  1884. projectID:
  1885. description: ProjectID specifies a project where secrets are
  1886. located.
  1887. type: string
  1888. url:
  1889. description: URL configures the GitLab instance URL. Defaults
  1890. to https://gitlab.com/.
  1891. type: string
  1892. required:
  1893. - auth
  1894. type: object
  1895. ibm:
  1896. description: IBM configures this store to sync secrets using IBM
  1897. Cloud provider
  1898. properties:
  1899. auth:
  1900. description: Auth configures how secret-manager authenticates
  1901. with the IBM secrets manager.
  1902. properties:
  1903. secretRef:
  1904. properties:
  1905. secretApiKeySecretRef:
  1906. description: The SecretAccessKey is used for authentication
  1907. properties:
  1908. key:
  1909. description: The key of the entry in the Secret
  1910. resource's `data` field to be used. Some instances
  1911. of this field may be defaulted, in others it
  1912. may be required.
  1913. type: string
  1914. name:
  1915. description: The name of the Secret resource being
  1916. referred to.
  1917. type: string
  1918. namespace:
  1919. description: Namespace of the resource being referred
  1920. to. Ignored if referent is not cluster-scoped.
  1921. cluster-scoped defaults to the namespace of
  1922. the referent.
  1923. type: string
  1924. type: object
  1925. type: object
  1926. required:
  1927. - secretRef
  1928. type: object
  1929. serviceUrl:
  1930. description: ServiceURL is the Endpoint URL that is specific
  1931. to the Secrets Manager service instance
  1932. type: string
  1933. required:
  1934. - auth
  1935. type: object
  1936. kubernetes:
  1937. description: Kubernetes configures this store to sync secrets
  1938. using a Kubernetes cluster provider
  1939. properties:
  1940. auth:
  1941. description: Auth configures how secret-manager authenticates
  1942. with a Kubernetes instance.
  1943. maxProperties: 1
  1944. minProperties: 1
  1945. properties:
  1946. cert:
  1947. description: has both clientCert and clientKey as secretKeySelector
  1948. properties:
  1949. clientCert:
  1950. description: A reference to a specific 'key' within
  1951. a Secret resource, In some instances, `key` is a
  1952. required field.
  1953. properties:
  1954. key:
  1955. description: The key of the entry in the Secret
  1956. resource's `data` field to be used. Some instances
  1957. of this field may be defaulted, in others it
  1958. may be required.
  1959. type: string
  1960. name:
  1961. description: The name of the Secret resource being
  1962. referred to.
  1963. type: string
  1964. namespace:
  1965. description: Namespace of the resource being referred
  1966. to. Ignored if referent is not cluster-scoped.
  1967. cluster-scoped defaults to the namespace of
  1968. the referent.
  1969. type: string
  1970. type: object
  1971. clientKey:
  1972. description: A reference to a specific 'key' within
  1973. a Secret resource, In some instances, `key` is a
  1974. required field.
  1975. properties:
  1976. key:
  1977. description: The key of the entry in the Secret
  1978. resource's `data` field to be used. Some instances
  1979. of this field may be defaulted, in others it
  1980. may be required.
  1981. type: string
  1982. name:
  1983. description: The name of the Secret resource being
  1984. referred to.
  1985. type: string
  1986. namespace:
  1987. description: Namespace of the resource being referred
  1988. to. Ignored if referent is not cluster-scoped.
  1989. cluster-scoped defaults to the namespace of
  1990. the referent.
  1991. type: string
  1992. type: object
  1993. type: object
  1994. serviceAccount:
  1995. description: points to a service account that should be
  1996. used for authentication
  1997. properties:
  1998. serviceAccount:
  1999. description: A reference to a ServiceAccount resource.
  2000. properties:
  2001. name:
  2002. description: The name of the ServiceAccount resource
  2003. being referred to.
  2004. type: string
  2005. namespace:
  2006. description: Namespace of the resource being referred
  2007. to. Ignored if referent is not cluster-scoped.
  2008. cluster-scoped defaults to the namespace of
  2009. the referent.
  2010. type: string
  2011. required:
  2012. - name
  2013. type: object
  2014. type: object
  2015. token:
  2016. description: use static token to authenticate with
  2017. properties:
  2018. bearerToken:
  2019. description: A reference to a specific 'key' within
  2020. a Secret resource, In some instances, `key` is a
  2021. required field.
  2022. properties:
  2023. key:
  2024. description: The key of the entry in the Secret
  2025. resource's `data` field to be used. Some instances
  2026. of this field may be defaulted, in others it
  2027. may be required.
  2028. type: string
  2029. name:
  2030. description: The name of the Secret resource being
  2031. referred to.
  2032. type: string
  2033. namespace:
  2034. description: Namespace of the resource being referred
  2035. to. Ignored if referent is not cluster-scoped.
  2036. cluster-scoped defaults to the namespace of
  2037. the referent.
  2038. type: string
  2039. type: object
  2040. type: object
  2041. type: object
  2042. remoteNamespace:
  2043. default: default
  2044. description: Remote namespace to fetch the secrets from
  2045. type: string
  2046. server:
  2047. description: configures the Kubernetes server Address.
  2048. properties:
  2049. caBundle:
  2050. description: CABundle is a base64-encoded CA certificate
  2051. format: byte
  2052. type: string
  2053. caProvider:
  2054. description: 'see: https://external-secrets.io/v0.4.1/spec/#external-secrets.io/v1alpha1.CAProvider'
  2055. properties:
  2056. key:
  2057. description: The key the value inside of the provider
  2058. type to use, only used with "Secret" type
  2059. type: string
  2060. name:
  2061. description: The name of the object located at the
  2062. provider type.
  2063. type: string
  2064. namespace:
  2065. description: The namespace the Provider type is in.
  2066. type: string
  2067. type:
  2068. description: The type of provider to use such as "Secret",
  2069. or "ConfigMap".
  2070. enum:
  2071. - Secret
  2072. - ConfigMap
  2073. type: string
  2074. required:
  2075. - name
  2076. - type
  2077. type: object
  2078. url:
  2079. default: kubernetes.default
  2080. description: configures the Kubernetes server Address.
  2081. type: string
  2082. type: object
  2083. required:
  2084. - auth
  2085. type: object
  2086. oracle:
  2087. description: Oracle configures this store to sync secrets using
  2088. Oracle Vault provider
  2089. properties:
  2090. auth:
  2091. description: Auth configures how secret-manager authenticates
  2092. with the Oracle Vault. If empty, use the instance principal,
  2093. otherwise the user credentials specified in Auth.
  2094. properties:
  2095. secretRef:
  2096. description: SecretRef to pass through sensitive information.
  2097. properties:
  2098. fingerprint:
  2099. description: Fingerprint is the fingerprint of the
  2100. API private key.
  2101. properties:
  2102. key:
  2103. description: The key of the entry in the Secret
  2104. resource's `data` field to be used. Some instances
  2105. of this field may be defaulted, in others it
  2106. may be required.
  2107. type: string
  2108. name:
  2109. description: The name of the Secret resource being
  2110. referred to.
  2111. type: string
  2112. namespace:
  2113. description: Namespace of the resource being referred
  2114. to. Ignored if referent is not cluster-scoped.
  2115. cluster-scoped defaults to the namespace of
  2116. the referent.
  2117. type: string
  2118. type: object
  2119. privatekey:
  2120. description: PrivateKey is the user's API Signing
  2121. Key in PEM format, used for authentication.
  2122. properties:
  2123. key:
  2124. description: The key of the entry in the Secret
  2125. resource's `data` field to be used. Some instances
  2126. of this field may be defaulted, in others it
  2127. may be required.
  2128. type: string
  2129. name:
  2130. description: The name of the Secret resource being
  2131. referred to.
  2132. type: string
  2133. namespace:
  2134. description: Namespace of the resource being referred
  2135. to. Ignored if referent is not cluster-scoped.
  2136. cluster-scoped defaults to the namespace of
  2137. the referent.
  2138. type: string
  2139. type: object
  2140. required:
  2141. - fingerprint
  2142. - privatekey
  2143. type: object
  2144. tenancy:
  2145. description: Tenancy is the tenancy OCID where user is
  2146. located.
  2147. type: string
  2148. user:
  2149. description: User is an access OCID specific to the account.
  2150. type: string
  2151. required:
  2152. - secretRef
  2153. - tenancy
  2154. - user
  2155. type: object
  2156. region:
  2157. description: Region is the region where vault is located.
  2158. type: string
  2159. vault:
  2160. description: Vault is the vault's OCID of the specific vault
  2161. where secret is located.
  2162. type: string
  2163. required:
  2164. - region
  2165. - vault
  2166. type: object
  2167. vault:
  2168. description: Vault configures this store to sync secrets using
  2169. Hashi provider
  2170. properties:
  2171. auth:
  2172. description: Auth configures how secret-manager authenticates
  2173. with the Vault server.
  2174. properties:
  2175. appRole:
  2176. description: AppRole authenticates with Vault using the
  2177. App Role auth mechanism, with the role and secret stored
  2178. in a Kubernetes Secret resource.
  2179. properties:
  2180. path:
  2181. default: approle
  2182. description: 'Path where the App Role authentication
  2183. backend is mounted in Vault, e.g: "approle"'
  2184. type: string
  2185. roleId:
  2186. description: RoleID configured in the App Role authentication
  2187. backend when setting up the authentication backend
  2188. in Vault.
  2189. type: string
  2190. secretRef:
  2191. description: Reference to a key in a Secret that contains
  2192. the App Role secret used to authenticate with Vault.
  2193. The `key` field must be specified and denotes which
  2194. entry within the Secret resource is used as the
  2195. app role secret.
  2196. properties:
  2197. key:
  2198. description: The key of the entry in the Secret
  2199. resource's `data` field to be used. Some instances
  2200. of this field may be defaulted, in others it
  2201. may be required.
  2202. type: string
  2203. name:
  2204. description: The name of the Secret resource being
  2205. referred to.
  2206. type: string
  2207. namespace:
  2208. description: Namespace of the resource being referred
  2209. to. Ignored if referent is not cluster-scoped.
  2210. cluster-scoped defaults to the namespace of
  2211. the referent.
  2212. type: string
  2213. type: object
  2214. required:
  2215. - path
  2216. - roleId
  2217. - secretRef
  2218. type: object
  2219. cert:
  2220. description: Cert authenticates with TLS Certificates
  2221. by passing client certificate, private key and ca certificate
  2222. Cert authentication method
  2223. properties:
  2224. clientCert:
  2225. description: ClientCert is a certificate to authenticate
  2226. using the Cert Vault authentication method
  2227. properties:
  2228. key:
  2229. description: The key of the entry in the Secret
  2230. resource's `data` field to be used. Some instances
  2231. of this field may be defaulted, in others it
  2232. may be required.
  2233. type: string
  2234. name:
  2235. description: The name of the Secret resource being
  2236. referred to.
  2237. type: string
  2238. namespace:
  2239. description: Namespace of the resource being referred
  2240. to. Ignored if referent is not cluster-scoped.
  2241. cluster-scoped defaults to the namespace of
  2242. the referent.
  2243. type: string
  2244. type: object
  2245. secretRef:
  2246. description: SecretRef to a key in a Secret resource
  2247. containing client private key to authenticate with
  2248. Vault using the Cert authentication method
  2249. properties:
  2250. key:
  2251. description: The key of the entry in the Secret
  2252. resource's `data` field to be used. Some instances
  2253. of this field may be defaulted, in others it
  2254. may be required.
  2255. type: string
  2256. name:
  2257. description: The name of the Secret resource being
  2258. referred to.
  2259. type: string
  2260. namespace:
  2261. description: Namespace of the resource being referred
  2262. to. Ignored if referent is not cluster-scoped.
  2263. cluster-scoped defaults to the namespace of
  2264. the referent.
  2265. type: string
  2266. type: object
  2267. type: object
  2268. jwt:
  2269. description: Jwt authenticates with Vault by passing role
  2270. and JWT token using the JWT/OIDC authentication method
  2271. properties:
  2272. kubernetesServiceAccountToken:
  2273. description: Optional ServiceAccountToken specifies
  2274. the Kubernetes service account for which to request
  2275. a token for with the `TokenRequest` API.
  2276. properties:
  2277. audiences:
  2278. description: Optional audiences field that will
  2279. be used to request a temporary Kubernetes service
  2280. account token for the service account referenced
  2281. by `serviceAccountRef`. Defaults to a single
  2282. audience `vault` it not specified.
  2283. items:
  2284. type: string
  2285. type: array
  2286. expirationSeconds:
  2287. description: Optional expiration time in seconds
  2288. that will be used to request a temporary Kubernetes
  2289. service account token for the service account
  2290. referenced by `serviceAccountRef`. Defaults
  2291. to 10 minutes.
  2292. format: int64
  2293. type: integer
  2294. serviceAccountRef:
  2295. description: Service account field containing
  2296. the name of a kubernetes ServiceAccount.
  2297. properties:
  2298. name:
  2299. description: The name of the ServiceAccount
  2300. resource being referred to.
  2301. type: string
  2302. namespace:
  2303. description: Namespace of the resource being
  2304. referred to. Ignored if referent is not
  2305. cluster-scoped. cluster-scoped defaults
  2306. to the namespace of the referent.
  2307. type: string
  2308. required:
  2309. - name
  2310. type: object
  2311. required:
  2312. - serviceAccountRef
  2313. type: object
  2314. path:
  2315. default: jwt
  2316. description: 'Path where the JWT authentication backend
  2317. is mounted in Vault, e.g: "jwt"'
  2318. type: string
  2319. role:
  2320. description: Role is a JWT role to authenticate using
  2321. the JWT/OIDC Vault authentication method
  2322. type: string
  2323. secretRef:
  2324. description: Optional SecretRef that refers to a key
  2325. in a Secret resource containing JWT token to authenticate
  2326. with Vault using the JWT/OIDC authentication method.
  2327. properties:
  2328. key:
  2329. description: The key of the entry in the Secret
  2330. resource's `data` field to be used. Some instances
  2331. of this field may be defaulted, in others it
  2332. may be required.
  2333. type: string
  2334. name:
  2335. description: The name of the Secret resource being
  2336. referred to.
  2337. type: string
  2338. namespace:
  2339. description: Namespace of the resource being referred
  2340. to. Ignored if referent is not cluster-scoped.
  2341. cluster-scoped defaults to the namespace of
  2342. the referent.
  2343. type: string
  2344. type: object
  2345. required:
  2346. - path
  2347. type: object
  2348. kubernetes:
  2349. description: Kubernetes authenticates with Vault by passing
  2350. the ServiceAccount token stored in the named Secret
  2351. resource to the Vault server.
  2352. properties:
  2353. mountPath:
  2354. default: kubernetes
  2355. description: 'Path where the Kubernetes authentication
  2356. backend is mounted in Vault, e.g: "kubernetes"'
  2357. type: string
  2358. role:
  2359. description: A required field containing the Vault
  2360. Role to assume. A Role binds a Kubernetes ServiceAccount
  2361. with a set of Vault policies.
  2362. type: string
  2363. secretRef:
  2364. description: Optional secret field containing a Kubernetes
  2365. ServiceAccount JWT used for authenticating with
  2366. Vault. If a name is specified without a key, `token`
  2367. is the default. If one is not specified, the one
  2368. bound to the controller will be used.
  2369. properties:
  2370. key:
  2371. description: The key of the entry in the Secret
  2372. resource's `data` field to be used. Some instances
  2373. of this field may be defaulted, in others it
  2374. may be required.
  2375. type: string
  2376. name:
  2377. description: The name of the Secret resource being
  2378. referred to.
  2379. type: string
  2380. namespace:
  2381. description: Namespace of the resource being referred
  2382. to. Ignored if referent is not cluster-scoped.
  2383. cluster-scoped defaults to the namespace of
  2384. the referent.
  2385. type: string
  2386. type: object
  2387. serviceAccountRef:
  2388. description: Optional service account field containing
  2389. the name of a kubernetes ServiceAccount. If the
  2390. service account is specified, the service account
  2391. secret token JWT will be used for authenticating
  2392. with Vault. If the service account selector is not
  2393. supplied, the secretRef will be used instead.
  2394. properties:
  2395. name:
  2396. description: The name of the ServiceAccount resource
  2397. being referred to.
  2398. type: string
  2399. namespace:
  2400. description: Namespace of the resource being referred
  2401. to. Ignored if referent is not cluster-scoped.
  2402. cluster-scoped defaults to the namespace of
  2403. the referent.
  2404. type: string
  2405. required:
  2406. - name
  2407. type: object
  2408. required:
  2409. - mountPath
  2410. - role
  2411. type: object
  2412. ldap:
  2413. description: Ldap authenticates with Vault by passing
  2414. username/password pair using the LDAP authentication
  2415. method
  2416. properties:
  2417. path:
  2418. default: ldap
  2419. description: 'Path where the LDAP authentication backend
  2420. is mounted in Vault, e.g: "ldap"'
  2421. type: string
  2422. secretRef:
  2423. description: SecretRef to a key in a Secret resource
  2424. containing password for the LDAP user used to authenticate
  2425. with Vault using the LDAP authentication method
  2426. properties:
  2427. key:
  2428. description: The key of the entry in the Secret
  2429. resource's `data` field to be used. Some instances
  2430. of this field may be defaulted, in others it
  2431. may be required.
  2432. type: string
  2433. name:
  2434. description: The name of the Secret resource being
  2435. referred to.
  2436. type: string
  2437. namespace:
  2438. description: Namespace of the resource being referred
  2439. to. Ignored if referent is not cluster-scoped.
  2440. cluster-scoped defaults to the namespace of
  2441. the referent.
  2442. type: string
  2443. type: object
  2444. username:
  2445. description: Username is a LDAP user name used to
  2446. authenticate using the LDAP Vault authentication
  2447. method
  2448. type: string
  2449. required:
  2450. - path
  2451. - username
  2452. type: object
  2453. tokenSecretRef:
  2454. description: TokenSecretRef authenticates with Vault by
  2455. presenting a token.
  2456. properties:
  2457. key:
  2458. description: The key of the entry in the Secret resource's
  2459. `data` field to be used. Some instances of this
  2460. field may be defaulted, in others it may be required.
  2461. type: string
  2462. name:
  2463. description: The name of the Secret resource being
  2464. referred to.
  2465. type: string
  2466. namespace:
  2467. description: Namespace of the resource being referred
  2468. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2469. defaults to the namespace of the referent.
  2470. type: string
  2471. type: object
  2472. type: object
  2473. caBundle:
  2474. description: PEM encoded CA bundle used to validate Vault
  2475. server certificate. Only used if the Server URL is using
  2476. HTTPS protocol. This parameter is ignored for plain HTTP
  2477. protocol connection. If not set the system root certificates
  2478. are used to validate the TLS connection.
  2479. format: byte
  2480. type: string
  2481. caProvider:
  2482. description: The provider for the CA bundle to use to validate
  2483. Vault server certificate.
  2484. properties:
  2485. key:
  2486. description: The key the value inside of the provider
  2487. type to use, only used with "Secret" type
  2488. type: string
  2489. name:
  2490. description: The name of the object located at the provider
  2491. type.
  2492. type: string
  2493. namespace:
  2494. description: The namespace the Provider type is in.
  2495. type: string
  2496. type:
  2497. description: The type of provider to use such as "Secret",
  2498. or "ConfigMap".
  2499. enum:
  2500. - Secret
  2501. - ConfigMap
  2502. type: string
  2503. required:
  2504. - name
  2505. - type
  2506. type: object
  2507. forwardInconsistent:
  2508. description: ForwardInconsistent tells Vault to forward read-after-write
  2509. requests to the Vault leader instead of simply retrying
  2510. within a loop. This can increase performance if the option
  2511. is enabled serverside. https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header
  2512. type: boolean
  2513. namespace:
  2514. description: 'Name of the vault namespace. Namespaces is a
  2515. set of features within Vault Enterprise that allows Vault
  2516. environments to support Secure Multi-tenancy. e.g: "ns1".
  2517. More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces'
  2518. type: string
  2519. path:
  2520. description: 'Path is the mount path of the Vault KV backend
  2521. endpoint, e.g: "secret". The v2 KV secret engine version
  2522. specific "/data" path suffix for fetching secrets from Vault
  2523. is optional and will be appended if not present in specified
  2524. path.'
  2525. type: string
  2526. readYourWrites:
  2527. description: ReadYourWrites ensures isolated read-after-write
  2528. semantics by providing discovered cluster replication states
  2529. in each request. More information about eventual consistency
  2530. in Vault can be found here https://www.vaultproject.io/docs/enterprise/consistency
  2531. type: boolean
  2532. server:
  2533. description: 'Server is the connection address for the Vault
  2534. server, e.g: "https://vault.example.com:8200".'
  2535. type: string
  2536. version:
  2537. default: v2
  2538. description: Version is the Vault KV secret engine version.
  2539. This can be either "v1" or "v2". Version defaults to "v2".
  2540. enum:
  2541. - v1
  2542. - v2
  2543. type: string
  2544. required:
  2545. - auth
  2546. - server
  2547. type: object
  2548. webhook:
  2549. description: Webhook configures this store to sync secrets using
  2550. a generic templated webhook
  2551. properties:
  2552. body:
  2553. description: Body
  2554. type: string
  2555. caBundle:
  2556. description: PEM encoded CA bundle used to validate webhook
  2557. server certificate. Only used if the Server URL is using
  2558. HTTPS protocol. This parameter is ignored for plain HTTP
  2559. protocol connection. If not set the system root certificates
  2560. are used to validate the TLS connection.
  2561. format: byte
  2562. type: string
  2563. caProvider:
  2564. description: The provider for the CA bundle to use to validate
  2565. webhook server certificate.
  2566. properties:
  2567. key:
  2568. description: The key the value inside of the provider
  2569. type to use, only used with "Secret" type
  2570. type: string
  2571. name:
  2572. description: The name of the object located at the provider
  2573. type.
  2574. type: string
  2575. namespace:
  2576. description: The namespace the Provider type is in.
  2577. type: string
  2578. type:
  2579. description: The type of provider to use such as "Secret",
  2580. or "ConfigMap".
  2581. enum:
  2582. - Secret
  2583. - ConfigMap
  2584. type: string
  2585. required:
  2586. - name
  2587. - type
  2588. type: object
  2589. headers:
  2590. additionalProperties:
  2591. type: string
  2592. description: Headers
  2593. type: object
  2594. method:
  2595. description: Webhook Method
  2596. type: string
  2597. result:
  2598. description: Result formatting
  2599. properties:
  2600. jsonPath:
  2601. description: Json path of return value
  2602. type: string
  2603. type: object
  2604. secrets:
  2605. description: Secrets to fill in templates These secrets will
  2606. be passed to the templating function as key value pairs
  2607. under the given name
  2608. items:
  2609. properties:
  2610. name:
  2611. description: Name of this secret in templates
  2612. type: string
  2613. secretRef:
  2614. description: Secret ref to fill in credentials
  2615. properties:
  2616. key:
  2617. description: The key of the entry in the Secret
  2618. resource's `data` field to be used. Some instances
  2619. of this field may be defaulted, in others it may
  2620. be required.
  2621. type: string
  2622. name:
  2623. description: The name of the Secret resource being
  2624. referred to.
  2625. type: string
  2626. namespace:
  2627. description: Namespace of the resource being referred
  2628. to. Ignored if referent is not cluster-scoped.
  2629. cluster-scoped defaults to the namespace of the
  2630. referent.
  2631. type: string
  2632. type: object
  2633. required:
  2634. - name
  2635. - secretRef
  2636. type: object
  2637. type: array
  2638. timeout:
  2639. description: Timeout
  2640. type: string
  2641. url:
  2642. description: Webhook url to call
  2643. type: string
  2644. required:
  2645. - result
  2646. - url
  2647. type: object
  2648. yandexlockbox:
  2649. description: YandexLockbox configures this store to sync secrets
  2650. using Yandex Lockbox provider
  2651. properties:
  2652. apiEndpoint:
  2653. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  2654. type: string
  2655. auth:
  2656. description: Auth defines the information necessary to authenticate
  2657. against Yandex Lockbox
  2658. properties:
  2659. authorizedKeySecretRef:
  2660. description: The authorized key used for authentication
  2661. properties:
  2662. key:
  2663. description: The key of the entry in the Secret resource's
  2664. `data` field to be used. Some instances of this
  2665. field may be defaulted, in others it may be required.
  2666. type: string
  2667. name:
  2668. description: The name of the Secret resource being
  2669. referred to.
  2670. type: string
  2671. namespace:
  2672. description: Namespace of the resource being referred
  2673. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2674. defaults to the namespace of the referent.
  2675. type: string
  2676. type: object
  2677. type: object
  2678. caProvider:
  2679. description: The provider for the CA bundle to use to validate
  2680. Yandex.Cloud server certificate.
  2681. properties:
  2682. certSecretRef:
  2683. description: A reference to a specific 'key' within a
  2684. Secret resource, In some instances, `key` is a required
  2685. field.
  2686. properties:
  2687. key:
  2688. description: The key of the entry in the Secret resource's
  2689. `data` field to be used. Some instances of this
  2690. field may be defaulted, in others it may be required.
  2691. type: string
  2692. name:
  2693. description: The name of the Secret resource being
  2694. referred to.
  2695. type: string
  2696. namespace:
  2697. description: Namespace of the resource being referred
  2698. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2699. defaults to the namespace of the referent.
  2700. type: string
  2701. type: object
  2702. type: object
  2703. required:
  2704. - auth
  2705. type: object
  2706. type: object
  2707. refreshInterval:
  2708. description: Used to configure store refresh interval in seconds.
  2709. Empty or 0 will default to the controller config.
  2710. type: integer
  2711. retrySettings:
  2712. description: Used to configure http retries if failed
  2713. properties:
  2714. maxRetries:
  2715. format: int32
  2716. type: integer
  2717. retryInterval:
  2718. type: string
  2719. type: object
  2720. required:
  2721. - provider
  2722. type: object
  2723. status:
  2724. description: SecretStoreStatus defines the observed state of the SecretStore.
  2725. properties:
  2726. conditions:
  2727. items:
  2728. properties:
  2729. lastTransitionTime:
  2730. format: date-time
  2731. type: string
  2732. message:
  2733. type: string
  2734. reason:
  2735. type: string
  2736. status:
  2737. type: string
  2738. type:
  2739. type: string
  2740. required:
  2741. - status
  2742. - type
  2743. type: object
  2744. type: array
  2745. type: object
  2746. type: object
  2747. served: true
  2748. storage: true
  2749. subresources:
  2750. status: {}
  2751. status:
  2752. acceptedNames:
  2753. kind: ""
  2754. plural: ""
  2755. conditions: []
  2756. storedVersions: []