external-secrets.io_secretstores.yaml 157 KB

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