external-secrets.io_clustersecretstores.yaml 157 KB

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