external-secrets.io_secretstores.yaml 148 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759
  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: secretstores.external-secrets.io
  8. spec:
  9. group: external-secrets.io
  10. names:
  11. categories:
  12. - externalsecrets
  13. kind: SecretStore
  14. listKind: SecretStoreList
  15. plural: secretstores
  16. shortNames:
  17. - ss
  18. singular: secretstore
  19. scope: Namespaced
  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: SecretStore represents a secure external location for storing
  33. 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. - jsonPath: .status.conditions[?(@.type=="Ready")].reason
  1391. name: Status
  1392. type: string
  1393. name: v1beta1
  1394. schema:
  1395. openAPIV3Schema:
  1396. description: SecretStore represents a secure external location for storing
  1397. secrets, which can be referenced as part of `storeRef` fields.
  1398. properties:
  1399. apiVersion:
  1400. description: 'APIVersion defines the versioned schema of this representation
  1401. of an object. Servers should convert recognized schemas to the latest
  1402. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  1403. type: string
  1404. kind:
  1405. description: 'Kind is a string value representing the REST resource this
  1406. object represents. Servers may infer this from the endpoint the client
  1407. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  1408. type: string
  1409. metadata:
  1410. type: object
  1411. spec:
  1412. description: SecretStoreSpec defines the desired state of SecretStore.
  1413. properties:
  1414. controller:
  1415. description: 'Used to select the correct KES controller (think: ingress.ingressClassName)
  1416. The KES controller is instantiated with a specific controller name
  1417. and filters ES based on this property'
  1418. type: string
  1419. provider:
  1420. description: Used to configure the provider. Only one provider may
  1421. be set
  1422. maxProperties: 1
  1423. minProperties: 1
  1424. properties:
  1425. akeyless:
  1426. description: Akeyless configures this store to sync secrets using
  1427. Akeyless Vault provider
  1428. properties:
  1429. akeylessGWApiURL:
  1430. description: Akeyless GW API Url from which the secrets to
  1431. be fetched from.
  1432. type: string
  1433. authSecretRef:
  1434. description: Auth configures how the operator authenticates
  1435. with Akeyless.
  1436. properties:
  1437. secretRef:
  1438. description: 'AkeylessAuthSecretRef AKEYLESS_ACCESS_TYPE_PARAM:
  1439. AZURE_OBJ_ID OR GCP_AUDIENCE OR ACCESS_KEY OR KUB_CONFIG_NAME.'
  1440. properties:
  1441. accessID:
  1442. description: The SecretAccessID is used for authentication
  1443. properties:
  1444. key:
  1445. description: The key of the entry in the Secret
  1446. resource's `data` field to be used. Some instances
  1447. of this field may be defaulted, in others it
  1448. may be required.
  1449. type: string
  1450. name:
  1451. description: The name of the Secret resource being
  1452. referred to.
  1453. type: string
  1454. namespace:
  1455. description: Namespace of the resource being referred
  1456. to. Ignored if referent is not cluster-scoped.
  1457. cluster-scoped defaults to the namespace of
  1458. the referent.
  1459. type: string
  1460. type: object
  1461. accessType:
  1462. description: A reference to a specific 'key' within
  1463. a Secret resource, In some instances, `key` is a
  1464. required field.
  1465. properties:
  1466. key:
  1467. description: The key of the entry in the Secret
  1468. resource's `data` field to be used. Some instances
  1469. of this field may be defaulted, in others it
  1470. may be required.
  1471. type: string
  1472. name:
  1473. description: The name of the Secret resource being
  1474. referred to.
  1475. type: string
  1476. namespace:
  1477. description: Namespace of the resource being referred
  1478. to. Ignored if referent is not cluster-scoped.
  1479. cluster-scoped defaults to the namespace of
  1480. the referent.
  1481. type: string
  1482. type: object
  1483. accessTypeParam:
  1484. description: A reference to a specific 'key' within
  1485. a Secret resource, In some instances, `key` is a
  1486. required field.
  1487. properties:
  1488. key:
  1489. description: The key of the entry in the Secret
  1490. resource's `data` field to be used. Some instances
  1491. of this field may be defaulted, in others it
  1492. may be required.
  1493. type: string
  1494. name:
  1495. description: The name of the Secret resource being
  1496. referred to.
  1497. type: string
  1498. namespace:
  1499. description: Namespace of the resource being referred
  1500. to. Ignored if referent is not cluster-scoped.
  1501. cluster-scoped defaults to the namespace of
  1502. the referent.
  1503. type: string
  1504. type: object
  1505. type: object
  1506. required:
  1507. - secretRef
  1508. type: object
  1509. required:
  1510. - akeylessGWApiURL
  1511. - authSecretRef
  1512. type: object
  1513. alibaba:
  1514. description: Alibaba configures this store to sync secrets using
  1515. Alibaba Cloud provider
  1516. properties:
  1517. auth:
  1518. description: AlibabaAuth contains a secretRef for credentials.
  1519. properties:
  1520. secretRef:
  1521. description: AlibabaAuthSecretRef holds secret references
  1522. for Alibaba credentials.
  1523. properties:
  1524. accessKeyIDSecretRef:
  1525. description: The AccessKeyID is used for authentication
  1526. properties:
  1527. key:
  1528. description: The key of the entry in the Secret
  1529. resource's `data` field to be used. Some instances
  1530. of this field may be defaulted, in others it
  1531. may be required.
  1532. type: string
  1533. name:
  1534. description: The name of the Secret resource being
  1535. referred to.
  1536. type: string
  1537. namespace:
  1538. description: Namespace of the resource being referred
  1539. to. Ignored if referent is not cluster-scoped.
  1540. cluster-scoped defaults to the namespace of
  1541. the referent.
  1542. type: string
  1543. type: object
  1544. accessKeySecretSecretRef:
  1545. description: The AccessKeySecret is used for authentication
  1546. properties:
  1547. key:
  1548. description: The key of the entry in the Secret
  1549. resource's `data` field to be used. Some instances
  1550. of this field may be defaulted, in others it
  1551. may be required.
  1552. type: string
  1553. name:
  1554. description: The name of the Secret resource being
  1555. referred to.
  1556. type: string
  1557. namespace:
  1558. description: Namespace of the resource being referred
  1559. to. Ignored if referent is not cluster-scoped.
  1560. cluster-scoped defaults to the namespace of
  1561. the referent.
  1562. type: string
  1563. type: object
  1564. required:
  1565. - accessKeyIDSecretRef
  1566. - accessKeySecretSecretRef
  1567. type: object
  1568. required:
  1569. - secretRef
  1570. type: object
  1571. endpoint:
  1572. type: string
  1573. regionID:
  1574. description: Alibaba Region to be used for the provider
  1575. type: string
  1576. required:
  1577. - auth
  1578. - regionID
  1579. type: object
  1580. aws:
  1581. description: AWS configures this store to sync secrets using AWS
  1582. Secret Manager provider
  1583. properties:
  1584. auth:
  1585. description: 'Auth defines the information necessary to authenticate
  1586. against AWS if not set aws sdk will infer credentials from
  1587. your environment see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials'
  1588. properties:
  1589. jwt:
  1590. description: Authenticate against AWS using service account
  1591. tokens.
  1592. properties:
  1593. serviceAccountRef:
  1594. description: A reference to a ServiceAccount resource.
  1595. properties:
  1596. name:
  1597. description: The name of the ServiceAccount resource
  1598. being referred to.
  1599. type: string
  1600. namespace:
  1601. description: Namespace of the resource being referred
  1602. to. Ignored if referent is not cluster-scoped.
  1603. cluster-scoped defaults to the namespace of
  1604. the referent.
  1605. type: string
  1606. required:
  1607. - name
  1608. type: object
  1609. type: object
  1610. secretRef:
  1611. description: AWSAuthSecretRef holds secret references
  1612. for AWS credentials both AccessKeyID and SecretAccessKey
  1613. must be defined in order to properly authenticate.
  1614. properties:
  1615. accessKeyIDSecretRef:
  1616. description: The AccessKeyID is used for authentication
  1617. properties:
  1618. key:
  1619. description: The key of the entry in the Secret
  1620. resource's `data` field to be used. Some instances
  1621. of this field may be defaulted, in others it
  1622. may be required.
  1623. type: string
  1624. name:
  1625. description: The name of the Secret resource being
  1626. referred to.
  1627. type: string
  1628. namespace:
  1629. description: Namespace of the resource being referred
  1630. to. Ignored if referent is not cluster-scoped.
  1631. cluster-scoped defaults to the namespace of
  1632. the referent.
  1633. type: string
  1634. type: object
  1635. secretAccessKeySecretRef:
  1636. description: The SecretAccessKey is used for authentication
  1637. properties:
  1638. key:
  1639. description: The key of the entry in the Secret
  1640. resource's `data` field to be used. Some instances
  1641. of this field may be defaulted, in others it
  1642. may be required.
  1643. type: string
  1644. name:
  1645. description: The name of the Secret resource being
  1646. referred to.
  1647. type: string
  1648. namespace:
  1649. description: Namespace of the resource being referred
  1650. to. Ignored if referent is not cluster-scoped.
  1651. cluster-scoped defaults to the namespace of
  1652. the referent.
  1653. type: string
  1654. type: object
  1655. type: object
  1656. type: object
  1657. region:
  1658. description: AWS Region to be used for the provider
  1659. type: string
  1660. role:
  1661. description: Role is a Role ARN which the SecretManager provider
  1662. will assume
  1663. type: string
  1664. service:
  1665. description: Service defines which service should be used
  1666. to fetch the secrets
  1667. enum:
  1668. - SecretsManager
  1669. - ParameterStore
  1670. type: string
  1671. required:
  1672. - region
  1673. - service
  1674. type: object
  1675. azurekv:
  1676. description: AzureKV configures this store to sync secrets using
  1677. Azure Key Vault provider
  1678. properties:
  1679. authSecretRef:
  1680. description: Auth configures how the operator authenticates
  1681. with Azure. Required for ServicePrincipal auth type.
  1682. properties:
  1683. clientId:
  1684. description: The Azure clientId of the service principle
  1685. used for authentication.
  1686. properties:
  1687. key:
  1688. description: The key of the entry in the Secret resource's
  1689. `data` field to be used. Some instances of this
  1690. field may be defaulted, in others it may be required.
  1691. type: string
  1692. name:
  1693. description: The name of the Secret resource being
  1694. referred to.
  1695. type: string
  1696. namespace:
  1697. description: Namespace of the resource being referred
  1698. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1699. defaults to the namespace of the referent.
  1700. type: string
  1701. type: object
  1702. clientSecret:
  1703. description: The Azure ClientSecret of the service principle
  1704. used for authentication.
  1705. properties:
  1706. key:
  1707. description: The key of the entry in the Secret resource's
  1708. `data` field to be used. Some instances of this
  1709. field may be defaulted, in others it may be required.
  1710. type: string
  1711. name:
  1712. description: The name of the Secret resource being
  1713. referred to.
  1714. type: string
  1715. namespace:
  1716. description: Namespace of the resource being referred
  1717. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1718. defaults to the namespace of the referent.
  1719. type: string
  1720. type: object
  1721. type: object
  1722. authType:
  1723. default: ServicePrincipal
  1724. description: 'Auth type defines how to authenticate to the
  1725. keyvault service. Valid values are: - "ServicePrincipal"
  1726. (default): Using a service principal (tenantId, clientId,
  1727. clientSecret) - "ManagedIdentity": Using Managed Identity
  1728. assigned to the pod (see aad-pod-identity)'
  1729. enum:
  1730. - ServicePrincipal
  1731. - ManagedIdentity
  1732. - WorkloadIdentity
  1733. type: string
  1734. identityId:
  1735. description: If multiple Managed Identity is assigned to the
  1736. pod, you can select the one to be used
  1737. type: string
  1738. serviceAccountRef:
  1739. description: ServiceAccountRef specified the service account
  1740. that should be used when authenticating with WorkloadIdentity.
  1741. properties:
  1742. name:
  1743. description: The name of the ServiceAccount resource being
  1744. referred to.
  1745. type: string
  1746. namespace:
  1747. description: Namespace of the resource being referred
  1748. to. Ignored if referent is not cluster-scoped. cluster-scoped
  1749. defaults to the namespace of the referent.
  1750. type: string
  1751. required:
  1752. - name
  1753. type: object
  1754. tenantId:
  1755. description: TenantID configures the Azure Tenant to send
  1756. requests to. Required for ServicePrincipal auth type.
  1757. type: string
  1758. vaultUrl:
  1759. description: Vault Url from which the secrets to be fetched
  1760. from.
  1761. type: string
  1762. required:
  1763. - vaultUrl
  1764. type: object
  1765. fake:
  1766. description: Fake configures a store with static key/value pairs
  1767. properties:
  1768. data:
  1769. items:
  1770. properties:
  1771. key:
  1772. type: string
  1773. value:
  1774. type: string
  1775. valueMap:
  1776. additionalProperties:
  1777. type: string
  1778. type: object
  1779. version:
  1780. type: string
  1781. required:
  1782. - key
  1783. type: object
  1784. type: array
  1785. required:
  1786. - data
  1787. type: object
  1788. gcpsm:
  1789. description: GCPSM configures this store to sync secrets using
  1790. Google Cloud Platform Secret Manager provider
  1791. properties:
  1792. auth:
  1793. description: Auth defines the information necessary to authenticate
  1794. against GCP
  1795. properties:
  1796. secretRef:
  1797. properties:
  1798. secretAccessKeySecretRef:
  1799. description: The SecretAccessKey is used for authentication
  1800. properties:
  1801. key:
  1802. description: The key of the entry in the Secret
  1803. resource's `data` field to be used. Some instances
  1804. of this field may be defaulted, in others it
  1805. may be required.
  1806. type: string
  1807. name:
  1808. description: The name of the Secret resource being
  1809. referred to.
  1810. type: string
  1811. namespace:
  1812. description: Namespace of the resource being referred
  1813. to. Ignored if referent is not cluster-scoped.
  1814. cluster-scoped defaults to the namespace of
  1815. the referent.
  1816. type: string
  1817. type: object
  1818. type: object
  1819. workloadIdentity:
  1820. properties:
  1821. clusterLocation:
  1822. type: string
  1823. clusterName:
  1824. type: string
  1825. clusterProjectID:
  1826. type: string
  1827. serviceAccountRef:
  1828. description: A reference to a ServiceAccount resource.
  1829. properties:
  1830. name:
  1831. description: The name of the ServiceAccount resource
  1832. being referred to.
  1833. type: string
  1834. namespace:
  1835. description: Namespace of the resource being referred
  1836. to. Ignored if referent is not cluster-scoped.
  1837. cluster-scoped defaults to the namespace of
  1838. the referent.
  1839. type: string
  1840. required:
  1841. - name
  1842. type: object
  1843. required:
  1844. - clusterLocation
  1845. - clusterName
  1846. - serviceAccountRef
  1847. type: object
  1848. type: object
  1849. projectID:
  1850. description: ProjectID project where secret is located
  1851. type: string
  1852. type: object
  1853. gitlab:
  1854. description: GItlab configures this store to sync secrets using
  1855. Gitlab Variables provider
  1856. properties:
  1857. auth:
  1858. description: Auth configures how secret-manager authenticates
  1859. with a GitLab instance.
  1860. properties:
  1861. SecretRef:
  1862. properties:
  1863. accessToken:
  1864. description: AccessToken is used for authentication.
  1865. properties:
  1866. key:
  1867. description: The key of the entry in the Secret
  1868. resource's `data` field to be used. Some instances
  1869. of this field may be defaulted, in others it
  1870. may be required.
  1871. type: string
  1872. name:
  1873. description: The name of the Secret resource being
  1874. referred to.
  1875. type: string
  1876. namespace:
  1877. description: Namespace of the resource being referred
  1878. to. Ignored if referent is not cluster-scoped.
  1879. cluster-scoped defaults to the namespace of
  1880. the referent.
  1881. type: string
  1882. type: object
  1883. type: object
  1884. required:
  1885. - SecretRef
  1886. type: object
  1887. projectID:
  1888. description: ProjectID specifies a project where secrets are
  1889. located.
  1890. type: string
  1891. url:
  1892. description: URL configures the GitLab instance URL. Defaults
  1893. to https://gitlab.com/.
  1894. type: string
  1895. required:
  1896. - auth
  1897. type: object
  1898. ibm:
  1899. description: IBM configures this store to sync secrets using IBM
  1900. Cloud provider
  1901. properties:
  1902. auth:
  1903. description: Auth configures how secret-manager authenticates
  1904. with the IBM secrets manager.
  1905. properties:
  1906. secretRef:
  1907. properties:
  1908. secretApiKeySecretRef:
  1909. description: The SecretAccessKey is used for authentication
  1910. properties:
  1911. key:
  1912. description: The key of the entry in the Secret
  1913. resource's `data` field to be used. Some instances
  1914. of this field may be defaulted, in others it
  1915. may be required.
  1916. type: string
  1917. name:
  1918. description: The name of the Secret resource being
  1919. referred to.
  1920. type: string
  1921. namespace:
  1922. description: Namespace of the resource being referred
  1923. to. Ignored if referent is not cluster-scoped.
  1924. cluster-scoped defaults to the namespace of
  1925. the referent.
  1926. type: string
  1927. type: object
  1928. type: object
  1929. required:
  1930. - secretRef
  1931. type: object
  1932. serviceUrl:
  1933. description: ServiceURL is the Endpoint URL that is specific
  1934. to the Secrets Manager service instance
  1935. type: string
  1936. required:
  1937. - auth
  1938. type: object
  1939. kubernetes:
  1940. description: Kubernetes configures this store to sync secrets
  1941. using a Kubernetes cluster provider
  1942. properties:
  1943. auth:
  1944. description: Auth configures how secret-manager authenticates
  1945. with a Kubernetes instance.
  1946. maxProperties: 1
  1947. minProperties: 1
  1948. properties:
  1949. cert:
  1950. description: has both clientCert and clientKey as secretKeySelector
  1951. properties:
  1952. clientCert:
  1953. description: A reference to a specific 'key' within
  1954. a Secret resource, In some instances, `key` is a
  1955. required field.
  1956. properties:
  1957. key:
  1958. description: The key of the entry in the Secret
  1959. resource's `data` field to be used. Some instances
  1960. of this field may be defaulted, in others it
  1961. may be required.
  1962. type: string
  1963. name:
  1964. description: The name of the Secret resource being
  1965. referred to.
  1966. type: string
  1967. namespace:
  1968. description: Namespace of the resource being referred
  1969. to. Ignored if referent is not cluster-scoped.
  1970. cluster-scoped defaults to the namespace of
  1971. the referent.
  1972. type: string
  1973. type: object
  1974. clientKey:
  1975. description: A reference to a specific 'key' within
  1976. a Secret resource, In some instances, `key` is a
  1977. required field.
  1978. properties:
  1979. key:
  1980. description: The key of the entry in the Secret
  1981. resource's `data` field to be used. Some instances
  1982. of this field may be defaulted, in others it
  1983. may be required.
  1984. type: string
  1985. name:
  1986. description: The name of the Secret resource being
  1987. referred to.
  1988. type: string
  1989. namespace:
  1990. description: Namespace of the resource being referred
  1991. to. Ignored if referent is not cluster-scoped.
  1992. cluster-scoped defaults to the namespace of
  1993. the referent.
  1994. type: string
  1995. type: object
  1996. type: object
  1997. serviceAccount:
  1998. description: points to a service account that should be
  1999. used for authentication
  2000. properties:
  2001. serviceAccount:
  2002. description: A reference to a ServiceAccount resource.
  2003. properties:
  2004. name:
  2005. description: The name of the ServiceAccount resource
  2006. being referred to.
  2007. type: string
  2008. namespace:
  2009. description: Namespace of the resource being referred
  2010. to. Ignored if referent is not cluster-scoped.
  2011. cluster-scoped defaults to the namespace of
  2012. the referent.
  2013. type: string
  2014. required:
  2015. - name
  2016. type: object
  2017. type: object
  2018. token:
  2019. description: use static token to authenticate with
  2020. properties:
  2021. bearerToken:
  2022. description: A reference to a specific 'key' within
  2023. a Secret resource, In some instances, `key` is a
  2024. required field.
  2025. properties:
  2026. key:
  2027. description: The key of the entry in the Secret
  2028. resource's `data` field to be used. Some instances
  2029. of this field may be defaulted, in others it
  2030. may be required.
  2031. type: string
  2032. name:
  2033. description: The name of the Secret resource being
  2034. referred to.
  2035. type: string
  2036. namespace:
  2037. description: Namespace of the resource being referred
  2038. to. Ignored if referent is not cluster-scoped.
  2039. cluster-scoped defaults to the namespace of
  2040. the referent.
  2041. type: string
  2042. type: object
  2043. type: object
  2044. type: object
  2045. remoteNamespace:
  2046. default: default
  2047. description: Remote namespace to fetch the secrets from
  2048. type: string
  2049. server:
  2050. description: configures the Kubernetes server Address.
  2051. properties:
  2052. caBundle:
  2053. description: CABundle is a base64-encoded CA certificate
  2054. format: byte
  2055. type: string
  2056. caProvider:
  2057. description: 'see: https://external-secrets.io/v0.4.1/spec/#external-secrets.io/v1alpha1.CAProvider'
  2058. properties:
  2059. key:
  2060. description: The key the value inside of the provider
  2061. type to use, only used with "Secret" type
  2062. type: string
  2063. name:
  2064. description: The name of the object located at the
  2065. provider type.
  2066. type: string
  2067. namespace:
  2068. description: The namespace the Provider type is in.
  2069. type: string
  2070. type:
  2071. description: The type of provider to use such as "Secret",
  2072. or "ConfigMap".
  2073. enum:
  2074. - Secret
  2075. - ConfigMap
  2076. type: string
  2077. required:
  2078. - name
  2079. - type
  2080. type: object
  2081. url:
  2082. default: kubernetes.default
  2083. description: configures the Kubernetes server Address.
  2084. type: string
  2085. type: object
  2086. required:
  2087. - auth
  2088. type: object
  2089. oracle:
  2090. description: Oracle configures this store to sync secrets using
  2091. Oracle Vault provider
  2092. properties:
  2093. auth:
  2094. description: Auth configures how secret-manager authenticates
  2095. with the Oracle Vault. If empty, use the instance principal,
  2096. otherwise the user credentials specified in Auth.
  2097. properties:
  2098. secretRef:
  2099. description: SecretRef to pass through sensitive information.
  2100. properties:
  2101. fingerprint:
  2102. description: Fingerprint is the fingerprint of the
  2103. API private key.
  2104. properties:
  2105. key:
  2106. description: The key of the entry in the Secret
  2107. resource's `data` field to be used. Some instances
  2108. of this field may be defaulted, in others it
  2109. may be required.
  2110. type: string
  2111. name:
  2112. description: The name of the Secret resource being
  2113. referred to.
  2114. type: string
  2115. namespace:
  2116. description: Namespace of the resource being referred
  2117. to. Ignored if referent is not cluster-scoped.
  2118. cluster-scoped defaults to the namespace of
  2119. the referent.
  2120. type: string
  2121. type: object
  2122. privatekey:
  2123. description: PrivateKey is the user's API Signing
  2124. Key in PEM format, used for authentication.
  2125. properties:
  2126. key:
  2127. description: The key of the entry in the Secret
  2128. resource's `data` field to be used. Some instances
  2129. of this field may be defaulted, in others it
  2130. may be required.
  2131. type: string
  2132. name:
  2133. description: The name of the Secret resource being
  2134. referred to.
  2135. type: string
  2136. namespace:
  2137. description: Namespace of the resource being referred
  2138. to. Ignored if referent is not cluster-scoped.
  2139. cluster-scoped defaults to the namespace of
  2140. the referent.
  2141. type: string
  2142. type: object
  2143. required:
  2144. - fingerprint
  2145. - privatekey
  2146. type: object
  2147. tenancy:
  2148. description: Tenancy is the tenancy OCID where user is
  2149. located.
  2150. type: string
  2151. user:
  2152. description: User is an access OCID specific to the account.
  2153. type: string
  2154. required:
  2155. - secretRef
  2156. - tenancy
  2157. - user
  2158. type: object
  2159. region:
  2160. description: Region is the region where vault is located.
  2161. type: string
  2162. vault:
  2163. description: Vault is the vault's OCID of the specific vault
  2164. where secret is located.
  2165. type: string
  2166. required:
  2167. - region
  2168. - vault
  2169. type: object
  2170. vault:
  2171. description: Vault configures this store to sync secrets using
  2172. Hashi provider
  2173. properties:
  2174. auth:
  2175. description: Auth configures how secret-manager authenticates
  2176. with the Vault server.
  2177. properties:
  2178. appRole:
  2179. description: AppRole authenticates with Vault using the
  2180. App Role auth mechanism, with the role and secret stored
  2181. in a Kubernetes Secret resource.
  2182. properties:
  2183. path:
  2184. default: approle
  2185. description: 'Path where the App Role authentication
  2186. backend is mounted in Vault, e.g: "approle"'
  2187. type: string
  2188. roleId:
  2189. description: RoleID configured in the App Role authentication
  2190. backend when setting up the authentication backend
  2191. in Vault.
  2192. type: string
  2193. secretRef:
  2194. description: Reference to a key in a Secret that contains
  2195. the App Role secret used to authenticate with Vault.
  2196. The `key` field must be specified and denotes which
  2197. entry within the Secret resource is used as the
  2198. app role secret.
  2199. properties:
  2200. key:
  2201. description: The key of the entry in the Secret
  2202. resource's `data` field to be used. Some instances
  2203. of this field may be defaulted, in others it
  2204. may be required.
  2205. type: string
  2206. name:
  2207. description: The name of the Secret resource being
  2208. referred to.
  2209. type: string
  2210. namespace:
  2211. description: Namespace of the resource being referred
  2212. to. Ignored if referent is not cluster-scoped.
  2213. cluster-scoped defaults to the namespace of
  2214. the referent.
  2215. type: string
  2216. type: object
  2217. required:
  2218. - path
  2219. - roleId
  2220. - secretRef
  2221. type: object
  2222. cert:
  2223. description: Cert authenticates with TLS Certificates
  2224. by passing client certificate, private key and ca certificate
  2225. Cert authentication method
  2226. properties:
  2227. clientCert:
  2228. description: ClientCert is a certificate to authenticate
  2229. using the Cert Vault authentication method
  2230. properties:
  2231. key:
  2232. description: The key of the entry in the Secret
  2233. resource's `data` field to be used. Some instances
  2234. of this field may be defaulted, in others it
  2235. may be required.
  2236. type: string
  2237. name:
  2238. description: The name of the Secret resource being
  2239. referred to.
  2240. type: string
  2241. namespace:
  2242. description: Namespace of the resource being referred
  2243. to. Ignored if referent is not cluster-scoped.
  2244. cluster-scoped defaults to the namespace of
  2245. the referent.
  2246. type: string
  2247. type: object
  2248. secretRef:
  2249. description: SecretRef to a key in a Secret resource
  2250. containing client private key to authenticate with
  2251. Vault using the Cert authentication method
  2252. properties:
  2253. key:
  2254. description: The key of the entry in the Secret
  2255. resource's `data` field to be used. Some instances
  2256. of this field may be defaulted, in others it
  2257. may be required.
  2258. type: string
  2259. name:
  2260. description: The name of the Secret resource being
  2261. referred to.
  2262. type: string
  2263. namespace:
  2264. description: Namespace of the resource being referred
  2265. to. Ignored if referent is not cluster-scoped.
  2266. cluster-scoped defaults to the namespace of
  2267. the referent.
  2268. type: string
  2269. type: object
  2270. type: object
  2271. jwt:
  2272. description: Jwt authenticates with Vault by passing role
  2273. and JWT token using the JWT/OIDC authentication method
  2274. properties:
  2275. kubernetesServiceAccountToken:
  2276. description: Optional ServiceAccountToken specifies
  2277. the Kubernetes service account for which to request
  2278. a token for with the `TokenRequest` API.
  2279. properties:
  2280. audiences:
  2281. description: Optional audiences field that will
  2282. be used to request a temporary Kubernetes service
  2283. account token for the service account referenced
  2284. by `serviceAccountRef`. Defaults to a single
  2285. audience `vault` it not specified.
  2286. items:
  2287. type: string
  2288. type: array
  2289. expirationSeconds:
  2290. description: Optional expiration time in seconds
  2291. that will be used to request a temporary Kubernetes
  2292. service account token for the service account
  2293. referenced by `serviceAccountRef`. Defaults
  2294. to 10 minutes.
  2295. format: int64
  2296. type: integer
  2297. serviceAccountRef:
  2298. description: Service account field containing
  2299. the name of a kubernetes ServiceAccount.
  2300. properties:
  2301. name:
  2302. description: The name of the ServiceAccount
  2303. resource being referred to.
  2304. type: string
  2305. namespace:
  2306. description: Namespace of the resource being
  2307. referred to. Ignored if referent is not
  2308. cluster-scoped. cluster-scoped defaults
  2309. to the namespace of the referent.
  2310. type: string
  2311. required:
  2312. - name
  2313. type: object
  2314. required:
  2315. - serviceAccountRef
  2316. type: object
  2317. path:
  2318. default: jwt
  2319. description: 'Path where the JWT authentication backend
  2320. is mounted in Vault, e.g: "jwt"'
  2321. type: string
  2322. role:
  2323. description: Role is a JWT role to authenticate using
  2324. the JWT/OIDC Vault authentication method
  2325. type: string
  2326. secretRef:
  2327. description: Optional SecretRef that refers to a key
  2328. in a Secret resource containing JWT token to authenticate
  2329. with Vault using the JWT/OIDC authentication method.
  2330. properties:
  2331. key:
  2332. description: The key of the entry in the Secret
  2333. resource's `data` field to be used. Some instances
  2334. of this field may be defaulted, in others it
  2335. may be required.
  2336. type: string
  2337. name:
  2338. description: The name of the Secret resource being
  2339. referred to.
  2340. type: string
  2341. namespace:
  2342. description: Namespace of the resource being referred
  2343. to. Ignored if referent is not cluster-scoped.
  2344. cluster-scoped defaults to the namespace of
  2345. the referent.
  2346. type: string
  2347. type: object
  2348. required:
  2349. - path
  2350. type: object
  2351. kubernetes:
  2352. description: Kubernetes authenticates with Vault by passing
  2353. the ServiceAccount token stored in the named Secret
  2354. resource to the Vault server.
  2355. properties:
  2356. mountPath:
  2357. default: kubernetes
  2358. description: 'Path where the Kubernetes authentication
  2359. backend is mounted in Vault, e.g: "kubernetes"'
  2360. type: string
  2361. role:
  2362. description: A required field containing the Vault
  2363. Role to assume. A Role binds a Kubernetes ServiceAccount
  2364. with a set of Vault policies.
  2365. type: string
  2366. secretRef:
  2367. description: Optional secret field containing a Kubernetes
  2368. ServiceAccount JWT used for authenticating with
  2369. Vault. If a name is specified without a key, `token`
  2370. is the default. If one is not specified, the one
  2371. bound to the controller will be used.
  2372. properties:
  2373. key:
  2374. description: The key of the entry in the Secret
  2375. resource's `data` field to be used. Some instances
  2376. of this field may be defaulted, in others it
  2377. may be required.
  2378. type: string
  2379. name:
  2380. description: The name of the Secret resource being
  2381. referred to.
  2382. type: string
  2383. namespace:
  2384. description: Namespace of the resource being referred
  2385. to. Ignored if referent is not cluster-scoped.
  2386. cluster-scoped defaults to the namespace of
  2387. the referent.
  2388. type: string
  2389. type: object
  2390. serviceAccountRef:
  2391. description: Optional service account field containing
  2392. the name of a kubernetes ServiceAccount. If the
  2393. service account is specified, the service account
  2394. secret token JWT will be used for authenticating
  2395. with Vault. If the service account selector is not
  2396. supplied, the secretRef will be used instead.
  2397. properties:
  2398. name:
  2399. description: The name of the ServiceAccount resource
  2400. being referred to.
  2401. type: string
  2402. namespace:
  2403. description: Namespace of the resource being referred
  2404. to. Ignored if referent is not cluster-scoped.
  2405. cluster-scoped defaults to the namespace of
  2406. the referent.
  2407. type: string
  2408. required:
  2409. - name
  2410. type: object
  2411. required:
  2412. - mountPath
  2413. - role
  2414. type: object
  2415. ldap:
  2416. description: Ldap authenticates with Vault by passing
  2417. username/password pair using the LDAP authentication
  2418. method
  2419. properties:
  2420. path:
  2421. default: ldap
  2422. description: 'Path where the LDAP authentication backend
  2423. is mounted in Vault, e.g: "ldap"'
  2424. type: string
  2425. secretRef:
  2426. description: SecretRef to a key in a Secret resource
  2427. containing password for the LDAP user used to authenticate
  2428. with Vault using the LDAP authentication method
  2429. properties:
  2430. key:
  2431. description: The key of the entry in the Secret
  2432. resource's `data` field to be used. Some instances
  2433. of this field may be defaulted, in others it
  2434. may be required.
  2435. type: string
  2436. name:
  2437. description: The name of the Secret resource being
  2438. referred to.
  2439. type: string
  2440. namespace:
  2441. description: Namespace of the resource being referred
  2442. to. Ignored if referent is not cluster-scoped.
  2443. cluster-scoped defaults to the namespace of
  2444. the referent.
  2445. type: string
  2446. type: object
  2447. username:
  2448. description: Username is a LDAP user name used to
  2449. authenticate using the LDAP Vault authentication
  2450. method
  2451. type: string
  2452. required:
  2453. - path
  2454. - username
  2455. type: object
  2456. tokenSecretRef:
  2457. description: TokenSecretRef authenticates with Vault by
  2458. presenting a token.
  2459. properties:
  2460. key:
  2461. description: The key of the entry in the Secret resource's
  2462. `data` field to be used. Some instances of this
  2463. field may be defaulted, in others it may be required.
  2464. type: string
  2465. name:
  2466. description: The name of the Secret resource being
  2467. referred to.
  2468. type: string
  2469. namespace:
  2470. description: Namespace of the resource being referred
  2471. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2472. defaults to the namespace of the referent.
  2473. type: string
  2474. type: object
  2475. type: object
  2476. caBundle:
  2477. description: PEM encoded CA bundle used to validate Vault
  2478. server certificate. Only used if the Server URL is using
  2479. HTTPS protocol. This parameter is ignored for plain HTTP
  2480. protocol connection. If not set the system root certificates
  2481. are used to validate the TLS connection.
  2482. format: byte
  2483. type: string
  2484. caProvider:
  2485. description: The provider for the CA bundle to use to validate
  2486. Vault server certificate.
  2487. properties:
  2488. key:
  2489. description: The key the value inside of the provider
  2490. type to use, only used with "Secret" type
  2491. type: string
  2492. name:
  2493. description: The name of the object located at the provider
  2494. type.
  2495. type: string
  2496. namespace:
  2497. description: The namespace the Provider type is in.
  2498. type: string
  2499. type:
  2500. description: The type of provider to use such as "Secret",
  2501. or "ConfigMap".
  2502. enum:
  2503. - Secret
  2504. - ConfigMap
  2505. type: string
  2506. required:
  2507. - name
  2508. - type
  2509. type: object
  2510. forwardInconsistent:
  2511. description: ForwardInconsistent tells Vault to forward read-after-write
  2512. requests to the Vault leader instead of simply retrying
  2513. within a loop. This can increase performance if the option
  2514. is enabled serverside. https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header
  2515. type: boolean
  2516. namespace:
  2517. description: 'Name of the vault namespace. Namespaces is a
  2518. set of features within Vault Enterprise that allows Vault
  2519. environments to support Secure Multi-tenancy. e.g: "ns1".
  2520. More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces'
  2521. type: string
  2522. path:
  2523. description: 'Path is the mount path of the Vault KV backend
  2524. endpoint, e.g: "secret". The v2 KV secret engine version
  2525. specific "/data" path suffix for fetching secrets from Vault
  2526. is optional and will be appended if not present in specified
  2527. path.'
  2528. type: string
  2529. readYourWrites:
  2530. description: ReadYourWrites ensures isolated read-after-write
  2531. semantics by providing discovered cluster replication states
  2532. in each request. More information about eventual consistency
  2533. in Vault can be found here https://www.vaultproject.io/docs/enterprise/consistency
  2534. type: boolean
  2535. server:
  2536. description: 'Server is the connection address for the Vault
  2537. server, e.g: "https://vault.example.com:8200".'
  2538. type: string
  2539. version:
  2540. default: v2
  2541. description: Version is the Vault KV secret engine version.
  2542. This can be either "v1" or "v2". Version defaults to "v2".
  2543. enum:
  2544. - v1
  2545. - v2
  2546. type: string
  2547. required:
  2548. - auth
  2549. - server
  2550. type: object
  2551. webhook:
  2552. description: Webhook configures this store to sync secrets using
  2553. a generic templated webhook
  2554. properties:
  2555. body:
  2556. description: Body
  2557. type: string
  2558. caBundle:
  2559. description: PEM encoded CA bundle used to validate webhook
  2560. server certificate. Only used if the Server URL is using
  2561. HTTPS protocol. This parameter is ignored for plain HTTP
  2562. protocol connection. If not set the system root certificates
  2563. are used to validate the TLS connection.
  2564. format: byte
  2565. type: string
  2566. caProvider:
  2567. description: The provider for the CA bundle to use to validate
  2568. webhook server certificate.
  2569. properties:
  2570. key:
  2571. description: The key the value inside of the provider
  2572. type to use, only used with "Secret" type
  2573. type: string
  2574. name:
  2575. description: The name of the object located at the provider
  2576. type.
  2577. type: string
  2578. namespace:
  2579. description: The namespace the Provider type is in.
  2580. type: string
  2581. type:
  2582. description: The type of provider to use such as "Secret",
  2583. or "ConfigMap".
  2584. enum:
  2585. - Secret
  2586. - ConfigMap
  2587. type: string
  2588. required:
  2589. - name
  2590. - type
  2591. type: object
  2592. headers:
  2593. additionalProperties:
  2594. type: string
  2595. description: Headers
  2596. type: object
  2597. method:
  2598. description: Webhook Method
  2599. type: string
  2600. result:
  2601. description: Result formatting
  2602. properties:
  2603. jsonPath:
  2604. description: Json path of return value
  2605. type: string
  2606. type: object
  2607. secrets:
  2608. description: Secrets to fill in templates These secrets will
  2609. be passed to the templating function as key value pairs
  2610. under the given name
  2611. items:
  2612. properties:
  2613. name:
  2614. description: Name of this secret in templates
  2615. type: string
  2616. secretRef:
  2617. description: Secret ref to fill in credentials
  2618. properties:
  2619. key:
  2620. description: The key of the entry in the Secret
  2621. resource's `data` field to be used. Some instances
  2622. of this field may be defaulted, in others it may
  2623. be required.
  2624. type: string
  2625. name:
  2626. description: The name of the Secret resource being
  2627. referred to.
  2628. type: string
  2629. namespace:
  2630. description: Namespace of the resource being referred
  2631. to. Ignored if referent is not cluster-scoped.
  2632. cluster-scoped defaults to the namespace of the
  2633. referent.
  2634. type: string
  2635. type: object
  2636. required:
  2637. - name
  2638. - secretRef
  2639. type: object
  2640. type: array
  2641. timeout:
  2642. description: Timeout
  2643. type: string
  2644. url:
  2645. description: Webhook url to call
  2646. type: string
  2647. required:
  2648. - result
  2649. - url
  2650. type: object
  2651. yandexlockbox:
  2652. description: YandexLockbox configures this store to sync secrets
  2653. using Yandex Lockbox provider
  2654. properties:
  2655. apiEndpoint:
  2656. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  2657. type: string
  2658. auth:
  2659. description: Auth defines the information necessary to authenticate
  2660. against Yandex Lockbox
  2661. properties:
  2662. authorizedKeySecretRef:
  2663. description: The authorized key used for authentication
  2664. properties:
  2665. key:
  2666. description: The key of the entry in the Secret resource's
  2667. `data` field to be used. Some instances of this
  2668. field may be defaulted, in others it may be required.
  2669. type: string
  2670. name:
  2671. description: The name of the Secret resource being
  2672. referred to.
  2673. type: string
  2674. namespace:
  2675. description: Namespace of the resource being referred
  2676. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2677. defaults to the namespace of the referent.
  2678. type: string
  2679. type: object
  2680. type: object
  2681. caProvider:
  2682. description: The provider for the CA bundle to use to validate
  2683. Yandex.Cloud server certificate.
  2684. properties:
  2685. certSecretRef:
  2686. description: A reference to a specific 'key' within a
  2687. Secret resource, In some instances, `key` is a required
  2688. field.
  2689. properties:
  2690. key:
  2691. description: The key of the entry in the Secret resource's
  2692. `data` field to be used. Some instances of this
  2693. field may be defaulted, in others it may be required.
  2694. type: string
  2695. name:
  2696. description: The name of the Secret resource being
  2697. referred to.
  2698. type: string
  2699. namespace:
  2700. description: Namespace of the resource being referred
  2701. to. Ignored if referent is not cluster-scoped. cluster-scoped
  2702. defaults to the namespace of the referent.
  2703. type: string
  2704. type: object
  2705. type: object
  2706. required:
  2707. - auth
  2708. type: object
  2709. type: object
  2710. refreshInterval:
  2711. description: Used to configure store refresh interval in seconds.
  2712. Empty or 0 will default to the controller config.
  2713. type: integer
  2714. retrySettings:
  2715. description: Used to configure http retries if failed
  2716. properties:
  2717. maxRetries:
  2718. format: int32
  2719. type: integer
  2720. retryInterval:
  2721. type: string
  2722. type: object
  2723. required:
  2724. - provider
  2725. type: object
  2726. status:
  2727. description: SecretStoreStatus defines the observed state of the SecretStore.
  2728. properties:
  2729. conditions:
  2730. items:
  2731. properties:
  2732. lastTransitionTime:
  2733. format: date-time
  2734. type: string
  2735. message:
  2736. type: string
  2737. reason:
  2738. type: string
  2739. status:
  2740. type: string
  2741. type:
  2742. type: string
  2743. required:
  2744. - status
  2745. - type
  2746. type: object
  2747. type: array
  2748. type: object
  2749. type: object
  2750. served: true
  2751. storage: true
  2752. subresources:
  2753. status: {}
  2754. status:
  2755. acceptedNames:
  2756. kind: ""
  2757. plural: ""
  2758. conditions: []
  2759. storedVersions: []