external-secrets.io_clustersecretstores.yaml 158 KB

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