bundle.yaml 359 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955
  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: clusterexternalsecrets.external-secrets.io
  8. spec:
  9. group: external-secrets.io
  10. names:
  11. categories:
  12. - externalsecrets
  13. kind: ClusterExternalSecret
  14. listKind: ClusterExternalSecretList
  15. plural: clusterexternalsecrets
  16. shortNames:
  17. - ces
  18. singular: clusterexternalsecret
  19. scope: Cluster
  20. versions:
  21. - additionalPrinterColumns:
  22. - jsonPath: .spec.secretStoreRef.name
  23. name: Store
  24. type: string
  25. - jsonPath: .spec.refreshInterval
  26. name: Refresh Interval
  27. type: string
  28. - jsonPath: .status.conditions[?(@.type=="Ready")].reason
  29. name: Status
  30. type: string
  31. - jsonPath: .status.conditions[?(@.type=="Ready")].status
  32. name: Ready
  33. type: string
  34. name: v1beta1
  35. schema:
  36. openAPIV3Schema:
  37. description: ClusterExternalSecret is the Schema for the clusterexternalsecrets API.
  38. properties:
  39. apiVersion:
  40. description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  41. type: string
  42. kind:
  43. description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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: ClusterExternalSecretSpec defines the desired state of ClusterExternalSecret.
  49. properties:
  50. externalSecretName:
  51. description: The name of the external secrets to be created defaults to the name of the ClusterExternalSecret
  52. type: string
  53. externalSecretSpec:
  54. description: The spec for the ExternalSecrets to be created
  55. properties:
  56. data:
  57. description: Data defines the connection between the Kubernetes Secret keys and the Provider data
  58. items:
  59. description: ExternalSecretData defines the connection between the Kubernetes Secret key (spec.data.<key>) and the Provider data.
  60. properties:
  61. remoteRef:
  62. description: ExternalSecretDataRemoteRef defines Provider data location.
  63. properties:
  64. conversionStrategy:
  65. default: Default
  66. description: Used to define a conversion Strategy
  67. type: string
  68. decodingStrategy:
  69. default: None
  70. description: Used to define a decoding Strategy
  71. type: string
  72. key:
  73. description: Key is the key used in the Provider, mandatory
  74. type: string
  75. metadataPolicy:
  76. description: Policy for fetching tags/labels from provider secrets, possible options are Fetch, None. Defaults to None
  77. type: string
  78. property:
  79. description: Used to select a specific property of the Provider value (if a map), if supported
  80. type: string
  81. version:
  82. description: Used to select a specific version of the Provider value, if supported
  83. type: string
  84. required:
  85. - key
  86. type: object
  87. secretKey:
  88. type: string
  89. sourceRef:
  90. properties:
  91. generator:
  92. description: Generator generates secret values on demand A generator is just a embedded type, see apis/generators for available types.
  93. x-kubernetes-preserve-unknown-fields: true
  94. generatorRef:
  95. description: GeneratorRef points to a generator custom resource in
  96. properties:
  97. apiVersion:
  98. type: string
  99. kind:
  100. type: string
  101. name:
  102. type: string
  103. required:
  104. - apiVersion
  105. - kind
  106. - name
  107. type: object
  108. storeRef:
  109. description: SecretStoreRef defines which SecretStore to fetch the ExternalSecret data.
  110. properties:
  111. kind:
  112. description: Kind of the SecretStore resource (SecretStore or ClusterSecretStore) Defaults to `SecretStore`
  113. type: string
  114. name:
  115. description: Name of the SecretStore resource
  116. type: string
  117. required:
  118. - name
  119. type: object
  120. type: object
  121. required:
  122. - remoteRef
  123. - secretKey
  124. type: object
  125. type: array
  126. dataFrom:
  127. description: DataFrom is used to fetch all properties from a specific Provider data If multiple entries are specified, the Secret keys are merged in the specified order
  128. items:
  129. properties:
  130. extract:
  131. description: 'Used to extract multiple key/value pairs from one secret Note: Extract does not support sourceRef.Generator or sourceRef.GeneratorRef.'
  132. properties:
  133. conversionStrategy:
  134. default: Default
  135. description: Used to define a conversion Strategy
  136. type: string
  137. decodingStrategy:
  138. default: None
  139. description: Used to define a decoding Strategy
  140. type: string
  141. key:
  142. description: Key is the key used in the Provider, mandatory
  143. type: string
  144. metadataPolicy:
  145. description: Policy for fetching tags/labels from provider secrets, possible options are Fetch, None. Defaults to None
  146. type: string
  147. property:
  148. description: Used to select a specific property of the Provider value (if a map), if supported
  149. type: string
  150. version:
  151. description: Used to select a specific version of the Provider value, if supported
  152. type: string
  153. required:
  154. - key
  155. type: object
  156. find:
  157. description: 'Used to find secrets based on tags or regular expressions Note: Find does not support sourceRef.Generator or sourceRef.GeneratorRef.'
  158. properties:
  159. conversionStrategy:
  160. default: Default
  161. description: Used to define a conversion Strategy
  162. type: string
  163. decodingStrategy:
  164. default: None
  165. description: Used to define a decoding Strategy
  166. type: string
  167. name:
  168. description: Finds secrets based on the name.
  169. properties:
  170. regexp:
  171. description: Finds secrets base
  172. type: string
  173. type: object
  174. path:
  175. description: A root path to start the find operations.
  176. type: string
  177. tags:
  178. additionalProperties:
  179. type: string
  180. description: Find secrets based on tags.
  181. type: object
  182. type: object
  183. rewrite:
  184. description: Used to rewrite secret Keys after getting them from the secret Provider Multiple Rewrite operations can be provided. They are applied in a layered order (first to last)
  185. items:
  186. properties:
  187. regexp:
  188. description: Used to rewrite with regular expressions. The resulting key will be the output of a regexp.ReplaceAll operation.
  189. properties:
  190. source:
  191. description: Used to define the regular expression of a re.Compiler.
  192. type: string
  193. target:
  194. description: Used to define the target pattern of a ReplaceAll operation.
  195. type: string
  196. required:
  197. - source
  198. - target
  199. type: object
  200. type: object
  201. type: array
  202. sourceRef:
  203. description: SourceRef points to a store or generator which contains secret values ready to use. Use this in combination with Extract or Find pull values out of a specific SecretStore. When sourceRef points to a generator Extract or Find is not supported. The generator returns a static map of values
  204. properties:
  205. generator:
  206. description: Generator generates secret values on demand A generator is just a embedded type, see apis/generators for available types.
  207. x-kubernetes-preserve-unknown-fields: true
  208. generatorRef:
  209. description: GeneratorRef points to a generator custom resource in
  210. properties:
  211. apiVersion:
  212. type: string
  213. kind:
  214. type: string
  215. name:
  216. type: string
  217. required:
  218. - apiVersion
  219. - kind
  220. - name
  221. type: object
  222. storeRef:
  223. description: SecretStoreRef defines which SecretStore to fetch the ExternalSecret data.
  224. properties:
  225. kind:
  226. description: Kind of the SecretStore resource (SecretStore or ClusterSecretStore) Defaults to `SecretStore`
  227. type: string
  228. name:
  229. description: Name of the SecretStore resource
  230. type: string
  231. required:
  232. - name
  233. type: object
  234. type: object
  235. type: object
  236. type: array
  237. refreshInterval:
  238. default: 1h
  239. description: RefreshInterval is the amount of time before the values are read again from the SecretStore provider Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h" May be set to zero to fetch and create it once. Defaults to 1h.
  240. type: string
  241. secretStoreRef:
  242. description: SecretStoreRef defines which SecretStore to fetch the ExternalSecret data.
  243. properties:
  244. kind:
  245. description: Kind of the SecretStore resource (SecretStore or ClusterSecretStore) Defaults to `SecretStore`
  246. type: string
  247. name:
  248. description: Name of the SecretStore resource
  249. type: string
  250. required:
  251. - name
  252. type: object
  253. target:
  254. default:
  255. creationPolicy: Owner
  256. deletionPolicy: Retain
  257. description: ExternalSecretTarget defines the Kubernetes Secret to be created There can be only one target per ExternalSecret.
  258. properties:
  259. creationPolicy:
  260. default: Owner
  261. description: CreationPolicy defines rules on how to create the resulting Secret Defaults to 'Owner'
  262. enum:
  263. - Owner
  264. - Orphan
  265. - Merge
  266. - None
  267. type: string
  268. deletionPolicy:
  269. default: Retain
  270. description: DeletionPolicy defines rules on how to delete the resulting Secret Defaults to 'Retain'
  271. enum:
  272. - Delete
  273. - Merge
  274. - Retain
  275. type: string
  276. immutable:
  277. description: Immutable defines if the final secret will be immutable
  278. type: boolean
  279. name:
  280. description: Name defines the name of the Secret resource to be managed This field is immutable Defaults to the .metadata.name of the ExternalSecret resource
  281. type: string
  282. template:
  283. description: Template defines a blueprint for the created Secret resource.
  284. properties:
  285. data:
  286. additionalProperties:
  287. type: string
  288. type: object
  289. engineVersion:
  290. default: v2
  291. type: string
  292. metadata:
  293. description: ExternalSecretTemplateMetadata defines metadata fields for the Secret blueprint.
  294. properties:
  295. annotations:
  296. additionalProperties:
  297. type: string
  298. type: object
  299. labels:
  300. additionalProperties:
  301. type: string
  302. type: object
  303. type: object
  304. templateFrom:
  305. items:
  306. maxProperties: 1
  307. minProperties: 1
  308. properties:
  309. configMap:
  310. properties:
  311. items:
  312. items:
  313. properties:
  314. key:
  315. type: string
  316. required:
  317. - key
  318. type: object
  319. type: array
  320. name:
  321. type: string
  322. required:
  323. - items
  324. - name
  325. type: object
  326. secret:
  327. properties:
  328. items:
  329. items:
  330. properties:
  331. key:
  332. type: string
  333. required:
  334. - key
  335. type: object
  336. type: array
  337. name:
  338. type: string
  339. required:
  340. - items
  341. - name
  342. type: object
  343. type: object
  344. type: array
  345. type:
  346. type: string
  347. type: object
  348. type: object
  349. type: object
  350. namespaceSelector:
  351. description: The labels to select by to find the Namespaces to create the ExternalSecrets in.
  352. properties:
  353. matchExpressions:
  354. description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
  355. items:
  356. description: A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
  357. properties:
  358. key:
  359. description: key is the label key that the selector applies to.
  360. type: string
  361. operator:
  362. description: operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
  363. type: string
  364. values:
  365. description: values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
  366. items:
  367. type: string
  368. type: array
  369. required:
  370. - key
  371. - operator
  372. type: object
  373. type: array
  374. matchLabels:
  375. additionalProperties:
  376. type: string
  377. description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
  378. type: object
  379. type: object
  380. x-kubernetes-map-type: atomic
  381. refreshTime:
  382. description: The time in which the controller should reconcile it's objects and recheck namespaces for labels.
  383. type: string
  384. required:
  385. - externalSecretSpec
  386. - namespaceSelector
  387. type: object
  388. status:
  389. description: ClusterExternalSecretStatus defines the observed state of ClusterExternalSecret.
  390. properties:
  391. conditions:
  392. items:
  393. properties:
  394. message:
  395. type: string
  396. status:
  397. type: string
  398. type:
  399. type: string
  400. required:
  401. - status
  402. - type
  403. type: object
  404. type: array
  405. failedNamespaces:
  406. description: Failed namespaces are the namespaces that failed to apply an ExternalSecret
  407. items:
  408. description: ClusterExternalSecretNamespaceFailure represents a failed namespace deployment and it's reason.
  409. properties:
  410. namespace:
  411. description: Namespace is the namespace that failed when trying to apply an ExternalSecret
  412. type: string
  413. reason:
  414. description: Reason is why the ExternalSecret failed to apply to the namespace
  415. type: string
  416. required:
  417. - namespace
  418. type: object
  419. type: array
  420. provisionedNamespaces:
  421. description: ProvisionedNamespaces are the namespaces where the ClusterExternalSecret has secrets
  422. items:
  423. type: string
  424. type: array
  425. type: object
  426. type: object
  427. served: true
  428. storage: true
  429. subresources:
  430. status: {}
  431. conversion:
  432. strategy: Webhook
  433. webhook:
  434. conversionReviewVersions:
  435. - v1
  436. clientConfig:
  437. service:
  438. name: kubernetes
  439. namespace: default
  440. path: /convert
  441. ---
  442. apiVersion: apiextensions.k8s.io/v1
  443. kind: CustomResourceDefinition
  444. metadata:
  445. annotations:
  446. controller-gen.kubebuilder.io/version: v0.9.2
  447. creationTimestamp: null
  448. name: clustersecretstores.external-secrets.io
  449. spec:
  450. group: external-secrets.io
  451. names:
  452. categories:
  453. - externalsecrets
  454. kind: ClusterSecretStore
  455. listKind: ClusterSecretStoreList
  456. plural: clustersecretstores
  457. shortNames:
  458. - css
  459. singular: clustersecretstore
  460. scope: Cluster
  461. versions:
  462. - additionalPrinterColumns:
  463. - jsonPath: .metadata.creationTimestamp
  464. name: AGE
  465. type: date
  466. - jsonPath: .status.conditions[?(@.type=="Ready")].reason
  467. name: Status
  468. type: string
  469. deprecated: true
  470. name: v1alpha1
  471. schema:
  472. openAPIV3Schema:
  473. description: ClusterSecretStore represents a secure external location for storing secrets, which can be referenced as part of `storeRef` fields.
  474. properties:
  475. apiVersion:
  476. description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  477. type: string
  478. kind:
  479. description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  480. type: string
  481. metadata:
  482. type: object
  483. spec:
  484. description: SecretStoreSpec defines the desired state of SecretStore.
  485. properties:
  486. controller:
  487. description: 'Used to select the correct KES controller (think: ingress.ingressClassName) The KES controller is instantiated with a specific controller name and filters ES based on this property'
  488. type: string
  489. provider:
  490. description: Used to configure the provider. Only one provider may be set
  491. maxProperties: 1
  492. minProperties: 1
  493. properties:
  494. akeyless:
  495. description: Akeyless configures this store to sync secrets using Akeyless Vault provider
  496. properties:
  497. akeylessGWApiURL:
  498. description: Akeyless GW API Url from which the secrets to be fetched from.
  499. type: string
  500. authSecretRef:
  501. description: Auth configures how the operator authenticates with Akeyless.
  502. properties:
  503. secretRef:
  504. description: 'AkeylessAuthSecretRef AKEYLESS_ACCESS_TYPE_PARAM: AZURE_OBJ_ID OR GCP_AUDIENCE OR ACCESS_KEY OR KUB_CONFIG_NAME.'
  505. properties:
  506. accessID:
  507. description: The SecretAccessID is used for authentication
  508. properties:
  509. key:
  510. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  511. type: string
  512. name:
  513. description: The name of the Secret resource being referred to.
  514. type: string
  515. namespace:
  516. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  517. type: string
  518. type: object
  519. accessType:
  520. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  521. properties:
  522. key:
  523. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  524. type: string
  525. name:
  526. description: The name of the Secret resource being referred to.
  527. type: string
  528. namespace:
  529. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  530. type: string
  531. type: object
  532. accessTypeParam:
  533. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  534. properties:
  535. key:
  536. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  537. type: string
  538. name:
  539. description: The name of the Secret resource being referred to.
  540. type: string
  541. namespace:
  542. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  543. type: string
  544. type: object
  545. type: object
  546. required:
  547. - secretRef
  548. type: object
  549. required:
  550. - akeylessGWApiURL
  551. - authSecretRef
  552. type: object
  553. alibaba:
  554. description: Alibaba configures this store to sync secrets using Alibaba Cloud provider
  555. properties:
  556. auth:
  557. description: AlibabaAuth contains a secretRef for credentials.
  558. properties:
  559. secretRef:
  560. description: AlibabaAuthSecretRef holds secret references for Alibaba credentials.
  561. properties:
  562. accessKeyIDSecretRef:
  563. description: The AccessKeyID is used for authentication
  564. properties:
  565. key:
  566. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  567. type: string
  568. name:
  569. description: The name of the Secret resource being referred to.
  570. type: string
  571. namespace:
  572. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  573. type: string
  574. type: object
  575. accessKeySecretSecretRef:
  576. description: The AccessKeySecret is used for authentication
  577. properties:
  578. key:
  579. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  580. type: string
  581. name:
  582. description: The name of the Secret resource being referred to.
  583. type: string
  584. namespace:
  585. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  586. type: string
  587. type: object
  588. required:
  589. - accessKeyIDSecretRef
  590. - accessKeySecretSecretRef
  591. type: object
  592. required:
  593. - secretRef
  594. type: object
  595. endpoint:
  596. type: string
  597. regionID:
  598. description: Alibaba Region to be used for the provider
  599. type: string
  600. required:
  601. - auth
  602. - regionID
  603. type: object
  604. aws:
  605. description: AWS configures this store to sync secrets using AWS Secret Manager provider
  606. properties:
  607. auth:
  608. description: 'Auth defines the information necessary to authenticate against AWS if not set aws sdk will infer credentials from your environment see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials'
  609. properties:
  610. jwt:
  611. description: Authenticate against AWS using service account tokens.
  612. properties:
  613. serviceAccountRef:
  614. description: A reference to a ServiceAccount resource.
  615. properties:
  616. audiences:
  617. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  618. items:
  619. type: string
  620. type: array
  621. name:
  622. description: The name of the ServiceAccount resource being referred to.
  623. type: string
  624. namespace:
  625. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  626. type: string
  627. required:
  628. - name
  629. type: object
  630. type: object
  631. secretRef:
  632. description: AWSAuthSecretRef holds secret references for AWS credentials both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate.
  633. properties:
  634. accessKeyIDSecretRef:
  635. description: The AccessKeyID is used for authentication
  636. properties:
  637. key:
  638. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  639. type: string
  640. name:
  641. description: The name of the Secret resource being referred to.
  642. type: string
  643. namespace:
  644. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  645. type: string
  646. type: object
  647. secretAccessKeySecretRef:
  648. description: The SecretAccessKey is used for authentication
  649. properties:
  650. key:
  651. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  652. type: string
  653. name:
  654. description: The name of the Secret resource being referred to.
  655. type: string
  656. namespace:
  657. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  658. type: string
  659. type: object
  660. type: object
  661. type: object
  662. region:
  663. description: AWS Region to be used for the provider
  664. type: string
  665. role:
  666. description: Role is a Role ARN which the SecretManager provider will assume
  667. type: string
  668. service:
  669. description: Service defines which service should be used to fetch the secrets
  670. enum:
  671. - SecretsManager
  672. - ParameterStore
  673. type: string
  674. required:
  675. - region
  676. - service
  677. type: object
  678. azurekv:
  679. description: AzureKV configures this store to sync secrets using Azure Key Vault provider
  680. properties:
  681. authSecretRef:
  682. description: Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type.
  683. properties:
  684. clientId:
  685. description: The Azure clientId of the service principle used for authentication.
  686. properties:
  687. key:
  688. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  689. type: string
  690. name:
  691. description: The name of the Secret resource being referred to.
  692. type: string
  693. namespace:
  694. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  695. type: string
  696. type: object
  697. clientSecret:
  698. description: The Azure ClientSecret of the service principle used for authentication.
  699. properties:
  700. key:
  701. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  702. type: string
  703. name:
  704. description: The name of the Secret resource being referred to.
  705. type: string
  706. namespace:
  707. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  708. type: string
  709. type: object
  710. type: object
  711. authType:
  712. default: ServicePrincipal
  713. description: 'Auth type defines how to authenticate to the keyvault service. Valid values are: - "ServicePrincipal" (default): Using a service principal (tenantId, clientId, clientSecret) - "ManagedIdentity": Using Managed Identity assigned to the pod (see aad-pod-identity)'
  714. enum:
  715. - ServicePrincipal
  716. - ManagedIdentity
  717. - WorkloadIdentity
  718. type: string
  719. identityId:
  720. description: If multiple Managed Identity is assigned to the pod, you can select the one to be used
  721. type: string
  722. serviceAccountRef:
  723. description: ServiceAccountRef specified the service account that should be used when authenticating with WorkloadIdentity.
  724. properties:
  725. audiences:
  726. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  727. items:
  728. type: string
  729. type: array
  730. name:
  731. description: The name of the ServiceAccount resource being referred to.
  732. type: string
  733. namespace:
  734. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  735. type: string
  736. required:
  737. - name
  738. type: object
  739. tenantId:
  740. description: TenantID configures the Azure Tenant to send requests to. Required for ServicePrincipal auth type.
  741. type: string
  742. vaultUrl:
  743. description: Vault Url from which the secrets to be fetched from.
  744. type: string
  745. required:
  746. - vaultUrl
  747. type: object
  748. fake:
  749. description: Fake configures a store with static key/value pairs
  750. properties:
  751. data:
  752. items:
  753. properties:
  754. key:
  755. type: string
  756. value:
  757. type: string
  758. valueMap:
  759. additionalProperties:
  760. type: string
  761. type: object
  762. version:
  763. type: string
  764. required:
  765. - key
  766. type: object
  767. type: array
  768. required:
  769. - data
  770. type: object
  771. gcpsm:
  772. description: GCPSM configures this store to sync secrets using Google Cloud Platform Secret Manager provider
  773. properties:
  774. auth:
  775. description: Auth defines the information necessary to authenticate against GCP
  776. properties:
  777. secretRef:
  778. properties:
  779. secretAccessKeySecretRef:
  780. description: The SecretAccessKey is used for authentication
  781. properties:
  782. key:
  783. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  784. type: string
  785. name:
  786. description: The name of the Secret resource being referred to.
  787. type: string
  788. namespace:
  789. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  790. type: string
  791. type: object
  792. type: object
  793. workloadIdentity:
  794. properties:
  795. clusterLocation:
  796. type: string
  797. clusterName:
  798. type: string
  799. clusterProjectID:
  800. type: string
  801. serviceAccountRef:
  802. description: A reference to a ServiceAccount resource.
  803. properties:
  804. audiences:
  805. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  806. items:
  807. type: string
  808. type: array
  809. name:
  810. description: The name of the ServiceAccount resource being referred to.
  811. type: string
  812. namespace:
  813. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  814. type: string
  815. required:
  816. - name
  817. type: object
  818. required:
  819. - clusterLocation
  820. - clusterName
  821. - serviceAccountRef
  822. type: object
  823. type: object
  824. projectID:
  825. description: ProjectID project where secret is located
  826. type: string
  827. type: object
  828. gitlab:
  829. description: Gitlab configures this store to sync secrets using Gitlab Variables provider
  830. properties:
  831. auth:
  832. description: Auth configures how secret-manager authenticates with a GitLab instance.
  833. properties:
  834. SecretRef:
  835. properties:
  836. accessToken:
  837. description: AccessToken is used for authentication.
  838. properties:
  839. key:
  840. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  841. type: string
  842. name:
  843. description: The name of the Secret resource being referred to.
  844. type: string
  845. namespace:
  846. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  847. type: string
  848. type: object
  849. type: object
  850. required:
  851. - SecretRef
  852. type: object
  853. projectID:
  854. description: ProjectID specifies a project where secrets are located.
  855. type: string
  856. url:
  857. description: URL configures the GitLab instance URL. Defaults to https://gitlab.com/.
  858. type: string
  859. required:
  860. - auth
  861. type: object
  862. ibm:
  863. description: IBM configures this store to sync secrets using IBM Cloud provider
  864. properties:
  865. auth:
  866. description: Auth configures how secret-manager authenticates with the IBM secrets manager.
  867. properties:
  868. secretRef:
  869. properties:
  870. secretApiKeySecretRef:
  871. description: The SecretAccessKey is used for authentication
  872. properties:
  873. key:
  874. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  875. type: string
  876. name:
  877. description: The name of the Secret resource being referred to.
  878. type: string
  879. namespace:
  880. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  881. type: string
  882. type: object
  883. type: object
  884. required:
  885. - secretRef
  886. type: object
  887. serviceUrl:
  888. description: ServiceURL is the Endpoint URL that is specific to the Secrets Manager service instance
  889. type: string
  890. required:
  891. - auth
  892. type: object
  893. kubernetes:
  894. description: Kubernetes configures this store to sync secrets using a Kubernetes cluster provider
  895. properties:
  896. auth:
  897. description: Auth configures how secret-manager authenticates with a Kubernetes instance.
  898. maxProperties: 1
  899. minProperties: 1
  900. properties:
  901. cert:
  902. description: has both clientCert and clientKey as secretKeySelector
  903. properties:
  904. clientCert:
  905. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  906. properties:
  907. key:
  908. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  909. type: string
  910. name:
  911. description: The name of the Secret resource being referred to.
  912. type: string
  913. namespace:
  914. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  915. type: string
  916. type: object
  917. clientKey:
  918. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  919. properties:
  920. key:
  921. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  922. type: string
  923. name:
  924. description: The name of the Secret resource being referred to.
  925. type: string
  926. namespace:
  927. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  928. type: string
  929. type: object
  930. type: object
  931. serviceAccount:
  932. description: points to a service account that should be used for authentication
  933. properties:
  934. serviceAccount:
  935. description: A reference to a ServiceAccount resource.
  936. properties:
  937. audiences:
  938. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  939. items:
  940. type: string
  941. type: array
  942. name:
  943. description: The name of the ServiceAccount resource being referred to.
  944. type: string
  945. namespace:
  946. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  947. type: string
  948. required:
  949. - name
  950. type: object
  951. type: object
  952. token:
  953. description: use static token to authenticate with
  954. properties:
  955. bearerToken:
  956. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  957. properties:
  958. key:
  959. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  960. type: string
  961. name:
  962. description: The name of the Secret resource being referred to.
  963. type: string
  964. namespace:
  965. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  966. type: string
  967. type: object
  968. type: object
  969. type: object
  970. remoteNamespace:
  971. default: default
  972. description: Remote namespace to fetch the secrets from
  973. type: string
  974. server:
  975. description: configures the Kubernetes server Address.
  976. properties:
  977. caBundle:
  978. description: CABundle is a base64-encoded CA certificate
  979. format: byte
  980. type: string
  981. caProvider:
  982. description: 'see: https://external-secrets.io/v0.4.1/spec/#external-secrets.io/v1alpha1.CAProvider'
  983. properties:
  984. key:
  985. description: The key the value inside of the provider type to use, only used with "Secret" type
  986. type: string
  987. name:
  988. description: The name of the object located at the provider type.
  989. type: string
  990. namespace:
  991. description: The namespace the Provider type is in.
  992. type: string
  993. type:
  994. description: The type of provider to use such as "Secret", or "ConfigMap".
  995. enum:
  996. - Secret
  997. - ConfigMap
  998. type: string
  999. required:
  1000. - name
  1001. - type
  1002. type: object
  1003. url:
  1004. default: kubernetes.default
  1005. description: configures the Kubernetes server Address.
  1006. type: string
  1007. type: object
  1008. required:
  1009. - auth
  1010. type: object
  1011. oracle:
  1012. description: Oracle configures this store to sync secrets using Oracle Vault provider
  1013. properties:
  1014. auth:
  1015. description: Auth configures how secret-manager authenticates with the Oracle Vault. If empty, use the instance principal, otherwise the user credentials specified in Auth.
  1016. properties:
  1017. secretRef:
  1018. description: SecretRef to pass through sensitive information.
  1019. properties:
  1020. fingerprint:
  1021. description: Fingerprint is the fingerprint of the API private key.
  1022. properties:
  1023. key:
  1024. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1025. type: string
  1026. name:
  1027. description: The name of the Secret resource being referred to.
  1028. type: string
  1029. namespace:
  1030. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1031. type: string
  1032. type: object
  1033. privatekey:
  1034. description: PrivateKey is the user's API Signing Key in PEM format, used for authentication.
  1035. properties:
  1036. key:
  1037. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1038. type: string
  1039. name:
  1040. description: The name of the Secret resource being referred to.
  1041. type: string
  1042. namespace:
  1043. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1044. type: string
  1045. type: object
  1046. required:
  1047. - fingerprint
  1048. - privatekey
  1049. type: object
  1050. tenancy:
  1051. description: Tenancy is the tenancy OCID where user is located.
  1052. type: string
  1053. user:
  1054. description: User is an access OCID specific to the account.
  1055. type: string
  1056. required:
  1057. - secretRef
  1058. - tenancy
  1059. - user
  1060. type: object
  1061. region:
  1062. description: Region is the region where vault is located.
  1063. type: string
  1064. vault:
  1065. description: Vault is the vault's OCID of the specific vault where secret is located.
  1066. type: string
  1067. required:
  1068. - region
  1069. - vault
  1070. type: object
  1071. vault:
  1072. description: Vault configures this store to sync secrets using Hashi provider
  1073. properties:
  1074. auth:
  1075. description: Auth configures how secret-manager authenticates with the Vault server.
  1076. properties:
  1077. appRole:
  1078. description: AppRole authenticates with Vault using the App Role auth mechanism, with the role and secret stored in a Kubernetes Secret resource.
  1079. properties:
  1080. path:
  1081. default: approle
  1082. description: 'Path where the App Role authentication backend is mounted in Vault, e.g: "approle"'
  1083. type: string
  1084. roleId:
  1085. description: RoleID configured in the App Role authentication backend when setting up the authentication backend in Vault.
  1086. type: string
  1087. secretRef:
  1088. description: Reference to a key in a Secret that contains the App Role secret used to authenticate with Vault. The `key` field must be specified and denotes which entry within the Secret resource is used as the app role secret.
  1089. properties:
  1090. key:
  1091. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1092. type: string
  1093. name:
  1094. description: The name of the Secret resource being referred to.
  1095. type: string
  1096. namespace:
  1097. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1098. type: string
  1099. type: object
  1100. required:
  1101. - path
  1102. - roleId
  1103. - secretRef
  1104. type: object
  1105. cert:
  1106. description: Cert authenticates with TLS Certificates by passing client certificate, private key and ca certificate Cert authentication method
  1107. properties:
  1108. clientCert:
  1109. description: ClientCert is a certificate to authenticate using the Cert Vault authentication method
  1110. properties:
  1111. key:
  1112. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1113. type: string
  1114. name:
  1115. description: The name of the Secret resource being referred to.
  1116. type: string
  1117. namespace:
  1118. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1119. type: string
  1120. type: object
  1121. secretRef:
  1122. description: SecretRef to a key in a Secret resource containing client private key to authenticate with Vault using the Cert authentication method
  1123. properties:
  1124. key:
  1125. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1126. type: string
  1127. name:
  1128. description: The name of the Secret resource being referred to.
  1129. type: string
  1130. namespace:
  1131. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1132. type: string
  1133. type: object
  1134. type: object
  1135. jwt:
  1136. description: Jwt authenticates with Vault by passing role and JWT token using the JWT/OIDC authentication method
  1137. properties:
  1138. kubernetesServiceAccountToken:
  1139. description: Optional ServiceAccountToken specifies the Kubernetes service account for which to request a token for with the `TokenRequest` API.
  1140. properties:
  1141. audiences:
  1142. description: Optional audiences field that will be used to request a temporary Kubernetes service account token for the service account referenced by `serviceAccountRef`. Defaults to a single audience `vault` it not specified.
  1143. items:
  1144. type: string
  1145. type: array
  1146. expirationSeconds:
  1147. description: Optional expiration time in seconds that will be used to request a temporary Kubernetes service account token for the service account referenced by `serviceAccountRef`. Defaults to 10 minutes.
  1148. format: int64
  1149. type: integer
  1150. serviceAccountRef:
  1151. description: Service account field containing the name of a kubernetes ServiceAccount.
  1152. properties:
  1153. audiences:
  1154. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  1155. items:
  1156. type: string
  1157. type: array
  1158. name:
  1159. description: The name of the ServiceAccount resource being referred to.
  1160. type: string
  1161. namespace:
  1162. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1163. type: string
  1164. required:
  1165. - name
  1166. type: object
  1167. required:
  1168. - serviceAccountRef
  1169. type: object
  1170. path:
  1171. default: jwt
  1172. description: 'Path where the JWT authentication backend is mounted in Vault, e.g: "jwt"'
  1173. type: string
  1174. role:
  1175. description: Role is a JWT role to authenticate using the JWT/OIDC Vault authentication method
  1176. type: string
  1177. secretRef:
  1178. description: Optional SecretRef that refers to a key in a Secret resource containing JWT token to authenticate with Vault using the JWT/OIDC authentication method.
  1179. properties:
  1180. key:
  1181. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1182. type: string
  1183. name:
  1184. description: The name of the Secret resource being referred to.
  1185. type: string
  1186. namespace:
  1187. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1188. type: string
  1189. type: object
  1190. required:
  1191. - path
  1192. type: object
  1193. kubernetes:
  1194. description: Kubernetes authenticates with Vault by passing the ServiceAccount token stored in the named Secret resource to the Vault server.
  1195. properties:
  1196. mountPath:
  1197. default: kubernetes
  1198. description: 'Path where the Kubernetes authentication backend is mounted in Vault, e.g: "kubernetes"'
  1199. type: string
  1200. role:
  1201. description: A required field containing the Vault Role to assume. A Role binds a Kubernetes ServiceAccount with a set of Vault policies.
  1202. type: string
  1203. secretRef:
  1204. description: Optional secret field containing a Kubernetes ServiceAccount JWT used for authenticating with Vault. If a name is specified without a key, `token` is the default. If one is not specified, the one bound to the controller will be used.
  1205. properties:
  1206. key:
  1207. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1208. type: string
  1209. name:
  1210. description: The name of the Secret resource being referred to.
  1211. type: string
  1212. namespace:
  1213. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1214. type: string
  1215. type: object
  1216. serviceAccountRef:
  1217. description: Optional service account field containing the name of a kubernetes ServiceAccount. If the service account is specified, the service account secret token JWT will be used for authenticating with Vault. If the service account selector is not supplied, the secretRef will be used instead.
  1218. properties:
  1219. audiences:
  1220. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  1221. items:
  1222. type: string
  1223. type: array
  1224. name:
  1225. description: The name of the ServiceAccount resource being referred to.
  1226. type: string
  1227. namespace:
  1228. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1229. type: string
  1230. required:
  1231. - name
  1232. type: object
  1233. required:
  1234. - mountPath
  1235. - role
  1236. type: object
  1237. ldap:
  1238. description: Ldap authenticates with Vault by passing username/password pair using the LDAP authentication method
  1239. properties:
  1240. path:
  1241. default: ldap
  1242. description: 'Path where the LDAP authentication backend is mounted in Vault, e.g: "ldap"'
  1243. type: string
  1244. secretRef:
  1245. description: SecretRef to a key in a Secret resource containing password for the LDAP user used to authenticate with Vault using the LDAP authentication method
  1246. properties:
  1247. key:
  1248. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1249. type: string
  1250. name:
  1251. description: The name of the Secret resource being referred to.
  1252. type: string
  1253. namespace:
  1254. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1255. type: string
  1256. type: object
  1257. username:
  1258. description: Username is a LDAP user name used to authenticate using the LDAP Vault authentication method
  1259. type: string
  1260. required:
  1261. - path
  1262. - username
  1263. type: object
  1264. tokenSecretRef:
  1265. description: TokenSecretRef authenticates with Vault by presenting a token.
  1266. properties:
  1267. key:
  1268. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1269. type: string
  1270. name:
  1271. description: The name of the Secret resource being referred to.
  1272. type: string
  1273. namespace:
  1274. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1275. type: string
  1276. type: object
  1277. type: object
  1278. caBundle:
  1279. description: PEM encoded CA bundle used to validate Vault server certificate. Only used if the Server URL is using HTTPS protocol. This parameter is ignored for plain HTTP protocol connection. If not set the system root certificates are used to validate the TLS connection.
  1280. format: byte
  1281. type: string
  1282. caProvider:
  1283. description: The provider for the CA bundle to use to validate Vault server certificate.
  1284. properties:
  1285. key:
  1286. description: The key the value inside of the provider type to use, only used with "Secret" type
  1287. type: string
  1288. name:
  1289. description: The name of the object located at the provider type.
  1290. type: string
  1291. namespace:
  1292. description: The namespace the Provider type is in.
  1293. type: string
  1294. type:
  1295. description: The type of provider to use such as "Secret", or "ConfigMap".
  1296. enum:
  1297. - Secret
  1298. - ConfigMap
  1299. type: string
  1300. required:
  1301. - name
  1302. - type
  1303. type: object
  1304. forwardInconsistent:
  1305. description: ForwardInconsistent tells Vault to forward read-after-write requests to the Vault leader instead of simply retrying within a loop. This can increase performance if the option is enabled serverside. https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header
  1306. type: boolean
  1307. namespace:
  1308. description: 'Name of the vault namespace. Namespaces is a set of features within Vault Enterprise that allows Vault environments to support Secure Multi-tenancy. e.g: "ns1". More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces'
  1309. type: string
  1310. path:
  1311. description: 'Path is the mount path of the Vault KV backend endpoint, e.g: "secret". The v2 KV secret engine version specific "/data" path suffix for fetching secrets from Vault is optional and will be appended if not present in specified path.'
  1312. type: string
  1313. readYourWrites:
  1314. description: ReadYourWrites ensures isolated read-after-write semantics by providing discovered cluster replication states in each request. More information about eventual consistency in Vault can be found here https://www.vaultproject.io/docs/enterprise/consistency
  1315. type: boolean
  1316. server:
  1317. description: 'Server is the connection address for the Vault server, e.g: "https://vault.example.com:8200".'
  1318. type: string
  1319. version:
  1320. default: v2
  1321. description: Version is the Vault KV secret engine version. This can be either "v1" or "v2". Version defaults to "v2".
  1322. enum:
  1323. - v1
  1324. - v2
  1325. type: string
  1326. required:
  1327. - auth
  1328. - server
  1329. type: object
  1330. webhook:
  1331. description: Webhook configures this store to sync secrets using a generic templated webhook
  1332. properties:
  1333. body:
  1334. description: Body
  1335. type: string
  1336. caBundle:
  1337. description: PEM encoded CA bundle used to validate webhook server certificate. Only used if the Server URL is using HTTPS protocol. This parameter is ignored for plain HTTP protocol connection. If not set the system root certificates are used to validate the TLS connection.
  1338. format: byte
  1339. type: string
  1340. caProvider:
  1341. description: The provider for the CA bundle to use to validate webhook server certificate.
  1342. properties:
  1343. key:
  1344. description: The key the value inside of the provider type to use, only used with "Secret" type
  1345. type: string
  1346. name:
  1347. description: The name of the object located at the provider type.
  1348. type: string
  1349. namespace:
  1350. description: The namespace the Provider type is in.
  1351. type: string
  1352. type:
  1353. description: The type of provider to use such as "Secret", or "ConfigMap".
  1354. enum:
  1355. - Secret
  1356. - ConfigMap
  1357. type: string
  1358. required:
  1359. - name
  1360. - type
  1361. type: object
  1362. headers:
  1363. additionalProperties:
  1364. type: string
  1365. description: Headers
  1366. type: object
  1367. method:
  1368. description: Webhook Method
  1369. type: string
  1370. result:
  1371. description: Result formatting
  1372. properties:
  1373. jsonPath:
  1374. description: Json path of return value
  1375. type: string
  1376. type: object
  1377. secrets:
  1378. description: Secrets to fill in templates These secrets will be passed to the templating function as key value pairs under the given name
  1379. items:
  1380. properties:
  1381. name:
  1382. description: Name of this secret in templates
  1383. type: string
  1384. secretRef:
  1385. description: Secret ref to fill in credentials
  1386. properties:
  1387. key:
  1388. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1389. type: string
  1390. name:
  1391. description: The name of the Secret resource being referred to.
  1392. type: string
  1393. namespace:
  1394. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1395. type: string
  1396. type: object
  1397. required:
  1398. - name
  1399. - secretRef
  1400. type: object
  1401. type: array
  1402. timeout:
  1403. description: Timeout
  1404. type: string
  1405. url:
  1406. description: Webhook url to call
  1407. type: string
  1408. required:
  1409. - result
  1410. - url
  1411. type: object
  1412. yandexlockbox:
  1413. description: YandexLockbox configures this store to sync secrets using Yandex Lockbox provider
  1414. properties:
  1415. apiEndpoint:
  1416. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  1417. type: string
  1418. auth:
  1419. description: Auth defines the information necessary to authenticate against Yandex Lockbox
  1420. properties:
  1421. authorizedKeySecretRef:
  1422. description: The authorized key used for authentication
  1423. properties:
  1424. key:
  1425. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1426. type: string
  1427. name:
  1428. description: The name of the Secret resource being referred to.
  1429. type: string
  1430. namespace:
  1431. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1432. type: string
  1433. type: object
  1434. type: object
  1435. caProvider:
  1436. description: The provider for the CA bundle to use to validate Yandex.Cloud server certificate.
  1437. properties:
  1438. certSecretRef:
  1439. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  1440. properties:
  1441. key:
  1442. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1443. type: string
  1444. name:
  1445. description: The name of the Secret resource being referred to.
  1446. type: string
  1447. namespace:
  1448. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1449. type: string
  1450. type: object
  1451. type: object
  1452. required:
  1453. - auth
  1454. type: object
  1455. type: object
  1456. retrySettings:
  1457. description: Used to configure http retries if failed
  1458. properties:
  1459. maxRetries:
  1460. format: int32
  1461. type: integer
  1462. retryInterval:
  1463. type: string
  1464. type: object
  1465. required:
  1466. - provider
  1467. type: object
  1468. status:
  1469. description: SecretStoreStatus defines the observed state of the SecretStore.
  1470. properties:
  1471. conditions:
  1472. items:
  1473. properties:
  1474. lastTransitionTime:
  1475. format: date-time
  1476. type: string
  1477. message:
  1478. type: string
  1479. reason:
  1480. type: string
  1481. status:
  1482. type: string
  1483. type:
  1484. type: string
  1485. required:
  1486. - status
  1487. - type
  1488. type: object
  1489. type: array
  1490. type: object
  1491. type: object
  1492. served: true
  1493. storage: false
  1494. subresources:
  1495. status: {}
  1496. - additionalPrinterColumns:
  1497. - jsonPath: .metadata.creationTimestamp
  1498. name: AGE
  1499. type: date
  1500. - jsonPath: .status.conditions[?(@.type=="Ready")].reason
  1501. name: Status
  1502. type: string
  1503. - jsonPath: .status.conditions[?(@.type=="Ready")].status
  1504. name: Ready
  1505. type: string
  1506. name: v1beta1
  1507. schema:
  1508. openAPIV3Schema:
  1509. description: ClusterSecretStore represents a secure external location for storing secrets, which can be referenced as part of `storeRef` fields.
  1510. properties:
  1511. apiVersion:
  1512. description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  1513. type: string
  1514. kind:
  1515. description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  1516. type: string
  1517. metadata:
  1518. type: object
  1519. spec:
  1520. description: SecretStoreSpec defines the desired state of SecretStore.
  1521. properties:
  1522. controller:
  1523. description: 'Used to select the correct KES controller (think: ingress.ingressClassName) The KES controller is instantiated with a specific controller name and filters ES based on this property'
  1524. type: string
  1525. provider:
  1526. description: Used to configure the provider. Only one provider may be set
  1527. maxProperties: 1
  1528. minProperties: 1
  1529. properties:
  1530. akeyless:
  1531. description: Akeyless configures this store to sync secrets using Akeyless Vault provider
  1532. properties:
  1533. akeylessGWApiURL:
  1534. description: Akeyless GW API Url from which the secrets to be fetched from.
  1535. type: string
  1536. authSecretRef:
  1537. description: Auth configures how the operator authenticates with Akeyless.
  1538. properties:
  1539. secretRef:
  1540. description: 'AkeylessAuthSecretRef AKEYLESS_ACCESS_TYPE_PARAM: AZURE_OBJ_ID OR GCP_AUDIENCE OR ACCESS_KEY OR KUB_CONFIG_NAME.'
  1541. properties:
  1542. accessID:
  1543. description: The SecretAccessID is used for authentication
  1544. properties:
  1545. key:
  1546. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1547. type: string
  1548. name:
  1549. description: The name of the Secret resource being referred to.
  1550. type: string
  1551. namespace:
  1552. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1553. type: string
  1554. type: object
  1555. accessType:
  1556. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  1557. properties:
  1558. key:
  1559. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1560. type: string
  1561. name:
  1562. description: The name of the Secret resource being referred to.
  1563. type: string
  1564. namespace:
  1565. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1566. type: string
  1567. type: object
  1568. accessTypeParam:
  1569. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  1570. properties:
  1571. key:
  1572. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1573. type: string
  1574. name:
  1575. description: The name of the Secret resource being referred to.
  1576. type: string
  1577. namespace:
  1578. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1579. type: string
  1580. type: object
  1581. type: object
  1582. required:
  1583. - secretRef
  1584. type: object
  1585. required:
  1586. - akeylessGWApiURL
  1587. - authSecretRef
  1588. type: object
  1589. alibaba:
  1590. description: Alibaba configures this store to sync secrets using Alibaba Cloud provider
  1591. properties:
  1592. auth:
  1593. description: AlibabaAuth contains a secretRef for credentials.
  1594. properties:
  1595. secretRef:
  1596. description: AlibabaAuthSecretRef holds secret references for Alibaba credentials.
  1597. properties:
  1598. accessKeyIDSecretRef:
  1599. description: The AccessKeyID is used for authentication
  1600. properties:
  1601. key:
  1602. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1603. type: string
  1604. name:
  1605. description: The name of the Secret resource being referred to.
  1606. type: string
  1607. namespace:
  1608. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1609. type: string
  1610. type: object
  1611. accessKeySecretSecretRef:
  1612. description: The AccessKeySecret is used for authentication
  1613. properties:
  1614. key:
  1615. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1616. type: string
  1617. name:
  1618. description: The name of the Secret resource being referred to.
  1619. type: string
  1620. namespace:
  1621. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1622. type: string
  1623. type: object
  1624. required:
  1625. - accessKeyIDSecretRef
  1626. - accessKeySecretSecretRef
  1627. type: object
  1628. required:
  1629. - secretRef
  1630. type: object
  1631. endpoint:
  1632. type: string
  1633. regionID:
  1634. description: Alibaba Region to be used for the provider
  1635. type: string
  1636. required:
  1637. - auth
  1638. - regionID
  1639. type: object
  1640. aws:
  1641. description: AWS configures this store to sync secrets using AWS Secret Manager provider
  1642. properties:
  1643. auth:
  1644. description: 'Auth defines the information necessary to authenticate against AWS if not set aws sdk will infer credentials from your environment see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials'
  1645. properties:
  1646. jwt:
  1647. description: Authenticate against AWS using service account tokens.
  1648. properties:
  1649. serviceAccountRef:
  1650. description: A reference to a ServiceAccount resource.
  1651. properties:
  1652. audiences:
  1653. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  1654. items:
  1655. type: string
  1656. type: array
  1657. name:
  1658. description: The name of the ServiceAccount resource being referred to.
  1659. type: string
  1660. namespace:
  1661. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1662. type: string
  1663. required:
  1664. - name
  1665. type: object
  1666. type: object
  1667. secretRef:
  1668. description: AWSAuthSecretRef holds secret references for AWS credentials both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate.
  1669. properties:
  1670. accessKeyIDSecretRef:
  1671. description: The AccessKeyID is used for authentication
  1672. properties:
  1673. key:
  1674. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1675. type: string
  1676. name:
  1677. description: The name of the Secret resource being referred to.
  1678. type: string
  1679. namespace:
  1680. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1681. type: string
  1682. type: object
  1683. secretAccessKeySecretRef:
  1684. description: The SecretAccessKey is used for authentication
  1685. properties:
  1686. key:
  1687. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1688. type: string
  1689. name:
  1690. description: The name of the Secret resource being referred to.
  1691. type: string
  1692. namespace:
  1693. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1694. type: string
  1695. type: object
  1696. type: object
  1697. type: object
  1698. region:
  1699. description: AWS Region to be used for the provider
  1700. type: string
  1701. role:
  1702. description: Role is a Role ARN which the SecretManager provider will assume
  1703. type: string
  1704. service:
  1705. description: Service defines which service should be used to fetch the secrets
  1706. enum:
  1707. - SecretsManager
  1708. - ParameterStore
  1709. type: string
  1710. required:
  1711. - region
  1712. - service
  1713. type: object
  1714. azurekv:
  1715. description: AzureKV configures this store to sync secrets using Azure Key Vault provider
  1716. properties:
  1717. authSecretRef:
  1718. description: Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type.
  1719. properties:
  1720. clientId:
  1721. description: The Azure clientId of the service principle used for authentication.
  1722. properties:
  1723. key:
  1724. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1725. type: string
  1726. name:
  1727. description: The name of the Secret resource being referred to.
  1728. type: string
  1729. namespace:
  1730. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1731. type: string
  1732. type: object
  1733. clientSecret:
  1734. description: The Azure ClientSecret of the service principle used for authentication.
  1735. properties:
  1736. key:
  1737. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1738. type: string
  1739. name:
  1740. description: The name of the Secret resource being referred to.
  1741. type: string
  1742. namespace:
  1743. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1744. type: string
  1745. type: object
  1746. type: object
  1747. authType:
  1748. default: ServicePrincipal
  1749. description: 'Auth type defines how to authenticate to the keyvault service. Valid values are: - "ServicePrincipal" (default): Using a service principal (tenantId, clientId, clientSecret) - "ManagedIdentity": Using Managed Identity assigned to the pod (see aad-pod-identity)'
  1750. enum:
  1751. - ServicePrincipal
  1752. - ManagedIdentity
  1753. - WorkloadIdentity
  1754. type: string
  1755. environmentType:
  1756. default: PublicCloud
  1757. description: 'EnvironmentType specifies the Azure cloud environment endpoints to use for connecting and authenticating with Azure. By default it points to the public cloud AAD endpoint. The following endpoints are available, also see here: https://github.com/Azure/go-autorest/blob/main/autorest/azure/environments.go#L152 PublicCloud, USGovernmentCloud, ChinaCloud, GermanCloud'
  1758. enum:
  1759. - PublicCloud
  1760. - USGovernmentCloud
  1761. - ChinaCloud
  1762. - GermanCloud
  1763. type: string
  1764. identityId:
  1765. description: If multiple Managed Identity is assigned to the pod, you can select the one to be used
  1766. type: string
  1767. serviceAccountRef:
  1768. description: ServiceAccountRef specified the service account that should be used when authenticating with WorkloadIdentity.
  1769. properties:
  1770. audiences:
  1771. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  1772. items:
  1773. type: string
  1774. type: array
  1775. name:
  1776. description: The name of the ServiceAccount resource being referred to.
  1777. type: string
  1778. namespace:
  1779. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1780. type: string
  1781. required:
  1782. - name
  1783. type: object
  1784. tenantId:
  1785. description: TenantID configures the Azure Tenant to send requests to. Required for ServicePrincipal auth type.
  1786. type: string
  1787. vaultUrl:
  1788. description: Vault Url from which the secrets to be fetched from.
  1789. type: string
  1790. required:
  1791. - vaultUrl
  1792. type: object
  1793. fake:
  1794. description: Fake configures a store with static key/value pairs
  1795. properties:
  1796. data:
  1797. items:
  1798. properties:
  1799. key:
  1800. type: string
  1801. value:
  1802. type: string
  1803. valueMap:
  1804. additionalProperties:
  1805. type: string
  1806. type: object
  1807. version:
  1808. type: string
  1809. required:
  1810. - key
  1811. type: object
  1812. type: array
  1813. required:
  1814. - data
  1815. type: object
  1816. gcpsm:
  1817. description: GCPSM configures this store to sync secrets using Google Cloud Platform Secret Manager provider
  1818. properties:
  1819. auth:
  1820. description: Auth defines the information necessary to authenticate against GCP
  1821. properties:
  1822. secretRef:
  1823. properties:
  1824. secretAccessKeySecretRef:
  1825. description: The SecretAccessKey is used for authentication
  1826. properties:
  1827. key:
  1828. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1829. type: string
  1830. name:
  1831. description: The name of the Secret resource being referred to.
  1832. type: string
  1833. namespace:
  1834. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1835. type: string
  1836. type: object
  1837. type: object
  1838. workloadIdentity:
  1839. properties:
  1840. clusterLocation:
  1841. type: string
  1842. clusterName:
  1843. type: string
  1844. clusterProjectID:
  1845. type: string
  1846. serviceAccountRef:
  1847. description: A reference to a ServiceAccount resource.
  1848. properties:
  1849. audiences:
  1850. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  1851. items:
  1852. type: string
  1853. type: array
  1854. name:
  1855. description: The name of the ServiceAccount resource being referred to.
  1856. type: string
  1857. namespace:
  1858. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1859. type: string
  1860. required:
  1861. - name
  1862. type: object
  1863. required:
  1864. - clusterLocation
  1865. - clusterName
  1866. - serviceAccountRef
  1867. type: object
  1868. type: object
  1869. projectID:
  1870. description: ProjectID project where secret is located
  1871. type: string
  1872. type: object
  1873. gitlab:
  1874. description: Gitlab configures this store to sync secrets using Gitlab Variables provider
  1875. properties:
  1876. auth:
  1877. description: Auth configures how secret-manager authenticates with a GitLab instance.
  1878. properties:
  1879. SecretRef:
  1880. properties:
  1881. accessToken:
  1882. description: AccessToken is used for authentication.
  1883. properties:
  1884. key:
  1885. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1886. type: string
  1887. name:
  1888. description: The name of the Secret resource being referred to.
  1889. type: string
  1890. namespace:
  1891. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1892. type: string
  1893. type: object
  1894. type: object
  1895. required:
  1896. - SecretRef
  1897. type: object
  1898. projectID:
  1899. description: ProjectID specifies a project where secrets are located.
  1900. type: string
  1901. url:
  1902. description: URL configures the GitLab instance URL. Defaults to https://gitlab.com/.
  1903. type: string
  1904. required:
  1905. - auth
  1906. type: object
  1907. ibm:
  1908. description: IBM configures this store to sync secrets using IBM Cloud provider
  1909. properties:
  1910. auth:
  1911. description: Auth configures how secret-manager authenticates with the IBM secrets manager.
  1912. maxProperties: 1
  1913. minProperties: 1
  1914. properties:
  1915. containerAuth:
  1916. description: IBM Container-based auth with IAM Trusted Profile.
  1917. properties:
  1918. iamEndpoint:
  1919. type: string
  1920. profile:
  1921. description: the IBM Trusted Profile
  1922. type: string
  1923. tokenLocation:
  1924. description: Location the token is mounted on the pod
  1925. type: string
  1926. required:
  1927. - profile
  1928. type: object
  1929. secretRef:
  1930. properties:
  1931. secretApiKeySecretRef:
  1932. description: The SecretAccessKey is used for authentication
  1933. properties:
  1934. key:
  1935. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1936. type: string
  1937. name:
  1938. description: The name of the Secret resource being referred to.
  1939. type: string
  1940. namespace:
  1941. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1942. type: string
  1943. type: object
  1944. type: object
  1945. type: object
  1946. serviceUrl:
  1947. description: ServiceURL is the Endpoint URL that is specific to the Secrets Manager service instance
  1948. type: string
  1949. required:
  1950. - auth
  1951. type: object
  1952. kubernetes:
  1953. description: Kubernetes configures this store to sync secrets using a Kubernetes cluster provider
  1954. properties:
  1955. auth:
  1956. description: Auth configures how secret-manager authenticates with a Kubernetes instance.
  1957. maxProperties: 1
  1958. minProperties: 1
  1959. properties:
  1960. cert:
  1961. description: has both clientCert and clientKey as secretKeySelector
  1962. properties:
  1963. clientCert:
  1964. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  1965. properties:
  1966. key:
  1967. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1968. type: string
  1969. name:
  1970. description: The name of the Secret resource being referred to.
  1971. type: string
  1972. namespace:
  1973. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1974. type: string
  1975. type: object
  1976. clientKey:
  1977. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  1978. properties:
  1979. key:
  1980. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  1981. type: string
  1982. name:
  1983. description: The name of the Secret resource being referred to.
  1984. type: string
  1985. namespace:
  1986. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  1987. type: string
  1988. type: object
  1989. type: object
  1990. serviceAccount:
  1991. description: points to a service account that should be used for authentication
  1992. properties:
  1993. audiences:
  1994. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  1995. items:
  1996. type: string
  1997. type: array
  1998. name:
  1999. description: The name of the ServiceAccount resource being referred to.
  2000. type: string
  2001. namespace:
  2002. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2003. type: string
  2004. required:
  2005. - name
  2006. type: object
  2007. token:
  2008. description: use static token to authenticate with
  2009. properties:
  2010. bearerToken:
  2011. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  2012. properties:
  2013. key:
  2014. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2015. type: string
  2016. name:
  2017. description: The name of the Secret resource being referred to.
  2018. type: string
  2019. namespace:
  2020. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2021. type: string
  2022. type: object
  2023. type: object
  2024. type: object
  2025. remoteNamespace:
  2026. default: default
  2027. description: Remote namespace to fetch the secrets from
  2028. type: string
  2029. server:
  2030. description: configures the Kubernetes server Address.
  2031. properties:
  2032. caBundle:
  2033. description: CABundle is a base64-encoded CA certificate
  2034. format: byte
  2035. type: string
  2036. caProvider:
  2037. description: 'see: https://external-secrets.io/v0.4.1/spec/#external-secrets.io/v1alpha1.CAProvider'
  2038. properties:
  2039. key:
  2040. description: The key where the CA certificate can be found in the Secret or ConfigMap.
  2041. type: string
  2042. name:
  2043. description: The name of the object located at the provider type.
  2044. type: string
  2045. namespace:
  2046. description: The namespace the Provider type is in. Can only be defined when used in a ClusterSecretStore.
  2047. type: string
  2048. type:
  2049. description: The type of provider to use such as "Secret", or "ConfigMap".
  2050. enum:
  2051. - Secret
  2052. - ConfigMap
  2053. type: string
  2054. required:
  2055. - name
  2056. - type
  2057. type: object
  2058. url:
  2059. default: kubernetes.default
  2060. description: configures the Kubernetes server Address.
  2061. type: string
  2062. type: object
  2063. required:
  2064. - auth
  2065. type: object
  2066. onepassword:
  2067. description: OnePassword configures this store to sync secrets using the 1Password Cloud provider
  2068. properties:
  2069. auth:
  2070. description: Auth defines the information necessary to authenticate against OnePassword Connect Server
  2071. properties:
  2072. secretRef:
  2073. description: OnePasswordAuthSecretRef holds secret references for 1Password credentials.
  2074. properties:
  2075. connectTokenSecretRef:
  2076. description: The ConnectToken is used for authentication to a 1Password Connect Server.
  2077. properties:
  2078. key:
  2079. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2080. type: string
  2081. name:
  2082. description: The name of the Secret resource being referred to.
  2083. type: string
  2084. namespace:
  2085. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2086. type: string
  2087. type: object
  2088. required:
  2089. - connectTokenSecretRef
  2090. type: object
  2091. required:
  2092. - secretRef
  2093. type: object
  2094. connectHost:
  2095. description: ConnectHost defines the OnePassword Connect Server to connect to
  2096. type: string
  2097. vaults:
  2098. additionalProperties:
  2099. type: integer
  2100. description: Vaults defines which OnePassword vaults to search in which order
  2101. type: object
  2102. required:
  2103. - auth
  2104. - connectHost
  2105. - vaults
  2106. type: object
  2107. oracle:
  2108. description: Oracle configures this store to sync secrets using Oracle Vault provider
  2109. properties:
  2110. auth:
  2111. description: Auth configures how secret-manager authenticates with the Oracle Vault. If empty, use the instance principal, otherwise the user credentials specified in Auth.
  2112. properties:
  2113. secretRef:
  2114. description: SecretRef to pass through sensitive information.
  2115. properties:
  2116. fingerprint:
  2117. description: Fingerprint is the fingerprint of the API private key.
  2118. properties:
  2119. key:
  2120. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2121. type: string
  2122. name:
  2123. description: The name of the Secret resource being referred to.
  2124. type: string
  2125. namespace:
  2126. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2127. type: string
  2128. type: object
  2129. privatekey:
  2130. description: PrivateKey is the user's API Signing Key in PEM format, used for authentication.
  2131. properties:
  2132. key:
  2133. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2134. type: string
  2135. name:
  2136. description: The name of the Secret resource being referred to.
  2137. type: string
  2138. namespace:
  2139. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2140. type: string
  2141. type: object
  2142. required:
  2143. - fingerprint
  2144. - privatekey
  2145. type: object
  2146. tenancy:
  2147. description: Tenancy is the tenancy OCID where user is located.
  2148. type: string
  2149. user:
  2150. description: User is an access OCID specific to the account.
  2151. type: string
  2152. required:
  2153. - secretRef
  2154. - tenancy
  2155. - user
  2156. type: object
  2157. region:
  2158. description: Region is the region where vault is located.
  2159. type: string
  2160. vault:
  2161. description: Vault is the vault's OCID of the specific vault where secret is located.
  2162. type: string
  2163. required:
  2164. - region
  2165. - vault
  2166. type: object
  2167. senhasegura:
  2168. description: Senhasegura configures this store to sync secrets using senhasegura provider
  2169. properties:
  2170. auth:
  2171. description: Auth defines parameters to authenticate in senhasegura
  2172. properties:
  2173. clientId:
  2174. type: string
  2175. clientSecretSecretRef:
  2176. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  2177. properties:
  2178. key:
  2179. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2180. type: string
  2181. name:
  2182. description: The name of the Secret resource being referred to.
  2183. type: string
  2184. namespace:
  2185. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2186. type: string
  2187. type: object
  2188. required:
  2189. - clientId
  2190. - clientSecretSecretRef
  2191. type: object
  2192. ignoreSslCertificate:
  2193. default: false
  2194. description: IgnoreSslCertificate defines if SSL certificate must be ignored
  2195. type: boolean
  2196. module:
  2197. description: Module defines which senhasegura module should be used to get secrets
  2198. type: string
  2199. url:
  2200. description: URL of senhasegura
  2201. type: string
  2202. required:
  2203. - auth
  2204. - module
  2205. - url
  2206. type: object
  2207. vault:
  2208. description: Vault configures this store to sync secrets using Hashi provider
  2209. properties:
  2210. auth:
  2211. description: Auth configures how secret-manager authenticates with the Vault server.
  2212. properties:
  2213. appRole:
  2214. description: AppRole authenticates with Vault using the App Role auth mechanism, with the role and secret stored in a Kubernetes Secret resource.
  2215. properties:
  2216. path:
  2217. default: approle
  2218. description: 'Path where the App Role authentication backend is mounted in Vault, e.g: "approle"'
  2219. type: string
  2220. roleId:
  2221. description: RoleID configured in the App Role authentication backend when setting up the authentication backend in Vault.
  2222. type: string
  2223. secretRef:
  2224. description: Reference to a key in a Secret that contains the App Role secret used to authenticate with Vault. The `key` field must be specified and denotes which entry within the Secret resource is used as the app role secret.
  2225. properties:
  2226. key:
  2227. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2228. type: string
  2229. name:
  2230. description: The name of the Secret resource being referred to.
  2231. type: string
  2232. namespace:
  2233. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2234. type: string
  2235. type: object
  2236. required:
  2237. - path
  2238. - roleId
  2239. - secretRef
  2240. type: object
  2241. cert:
  2242. description: Cert authenticates with TLS Certificates by passing client certificate, private key and ca certificate Cert authentication method
  2243. properties:
  2244. clientCert:
  2245. description: ClientCert is a certificate to authenticate using the Cert Vault authentication method
  2246. properties:
  2247. key:
  2248. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2249. type: string
  2250. name:
  2251. description: The name of the Secret resource being referred to.
  2252. type: string
  2253. namespace:
  2254. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2255. type: string
  2256. type: object
  2257. secretRef:
  2258. description: SecretRef to a key in a Secret resource containing client private key to authenticate with Vault using the Cert authentication method
  2259. properties:
  2260. key:
  2261. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2262. type: string
  2263. name:
  2264. description: The name of the Secret resource being referred to.
  2265. type: string
  2266. namespace:
  2267. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2268. type: string
  2269. type: object
  2270. type: object
  2271. jwt:
  2272. description: Jwt authenticates with Vault by passing role and JWT token using the JWT/OIDC authentication method
  2273. properties:
  2274. kubernetesServiceAccountToken:
  2275. description: Optional ServiceAccountToken specifies the Kubernetes service account for which to request a token for with the `TokenRequest` API.
  2276. properties:
  2277. audiences:
  2278. description: 'Optional audiences field that will be used to request a temporary Kubernetes service account token for the service account referenced by `serviceAccountRef`. Defaults to a single audience `vault` it not specified. Deprecated: use serviceAccountRef.Audiences instead'
  2279. items:
  2280. type: string
  2281. type: array
  2282. expirationSeconds:
  2283. description: 'Optional expiration time in seconds that will be used to request a temporary Kubernetes service account token for the service account referenced by `serviceAccountRef`. Deprecated: this will be removed in the future. Defaults to 10 minutes.'
  2284. format: int64
  2285. type: integer
  2286. serviceAccountRef:
  2287. description: Service account field containing the name of a kubernetes ServiceAccount.
  2288. properties:
  2289. audiences:
  2290. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  2291. items:
  2292. type: string
  2293. type: array
  2294. name:
  2295. description: The name of the ServiceAccount resource being referred to.
  2296. type: string
  2297. namespace:
  2298. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2299. type: string
  2300. required:
  2301. - name
  2302. type: object
  2303. required:
  2304. - serviceAccountRef
  2305. type: object
  2306. path:
  2307. default: jwt
  2308. description: 'Path where the JWT authentication backend is mounted in Vault, e.g: "jwt"'
  2309. type: string
  2310. role:
  2311. description: Role is a JWT role to authenticate using the JWT/OIDC Vault authentication method
  2312. type: string
  2313. secretRef:
  2314. description: Optional SecretRef that refers to a key in a Secret resource containing JWT token to authenticate with Vault using the JWT/OIDC authentication method.
  2315. properties:
  2316. key:
  2317. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2318. type: string
  2319. name:
  2320. description: The name of the Secret resource being referred to.
  2321. type: string
  2322. namespace:
  2323. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2324. type: string
  2325. type: object
  2326. required:
  2327. - path
  2328. type: object
  2329. kubernetes:
  2330. description: Kubernetes authenticates with Vault by passing the ServiceAccount token stored in the named Secret resource to the Vault server.
  2331. properties:
  2332. mountPath:
  2333. default: kubernetes
  2334. description: 'Path where the Kubernetes authentication backend is mounted in Vault, e.g: "kubernetes"'
  2335. type: string
  2336. role:
  2337. description: A required field containing the Vault Role to assume. A Role binds a Kubernetes ServiceAccount with a set of Vault policies.
  2338. type: string
  2339. secretRef:
  2340. description: Optional secret field containing a Kubernetes ServiceAccount JWT used for authenticating with Vault. If a name is specified without a key, `token` is the default. If one is not specified, the one bound to the controller will be used.
  2341. properties:
  2342. key:
  2343. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2344. type: string
  2345. name:
  2346. description: The name of the Secret resource being referred to.
  2347. type: string
  2348. namespace:
  2349. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2350. type: string
  2351. type: object
  2352. serviceAccountRef:
  2353. description: Optional service account field containing the name of a kubernetes ServiceAccount. If the service account is specified, the service account secret token JWT will be used for authenticating with Vault. If the service account selector is not supplied, the secretRef will be used instead.
  2354. properties:
  2355. audiences:
  2356. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  2357. items:
  2358. type: string
  2359. type: array
  2360. name:
  2361. description: The name of the ServiceAccount resource being referred to.
  2362. type: string
  2363. namespace:
  2364. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2365. type: string
  2366. required:
  2367. - name
  2368. type: object
  2369. required:
  2370. - mountPath
  2371. - role
  2372. type: object
  2373. ldap:
  2374. description: Ldap authenticates with Vault by passing username/password pair using the LDAP authentication method
  2375. properties:
  2376. path:
  2377. default: ldap
  2378. description: 'Path where the LDAP authentication backend is mounted in Vault, e.g: "ldap"'
  2379. type: string
  2380. secretRef:
  2381. description: SecretRef to a key in a Secret resource containing password for the LDAP user used to authenticate with Vault using the LDAP authentication method
  2382. properties:
  2383. key:
  2384. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2385. type: string
  2386. name:
  2387. description: The name of the Secret resource being referred to.
  2388. type: string
  2389. namespace:
  2390. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2391. type: string
  2392. type: object
  2393. username:
  2394. description: Username is a LDAP user name used to authenticate using the LDAP Vault authentication method
  2395. type: string
  2396. required:
  2397. - path
  2398. - username
  2399. type: object
  2400. tokenSecretRef:
  2401. description: TokenSecretRef authenticates with Vault by presenting a token.
  2402. properties:
  2403. key:
  2404. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2405. type: string
  2406. name:
  2407. description: The name of the Secret resource being referred to.
  2408. type: string
  2409. namespace:
  2410. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2411. type: string
  2412. type: object
  2413. type: object
  2414. caBundle:
  2415. description: PEM encoded CA bundle used to validate Vault server certificate. Only used if the Server URL is using HTTPS protocol. This parameter is ignored for plain HTTP protocol connection. If not set the system root certificates are used to validate the TLS connection.
  2416. format: byte
  2417. type: string
  2418. caProvider:
  2419. description: The provider for the CA bundle to use to validate Vault server certificate.
  2420. properties:
  2421. key:
  2422. description: The key where the CA certificate can be found in the Secret or ConfigMap.
  2423. type: string
  2424. name:
  2425. description: The name of the object located at the provider type.
  2426. type: string
  2427. namespace:
  2428. description: The namespace the Provider type is in. Can only be defined when used in a ClusterSecretStore.
  2429. type: string
  2430. type:
  2431. description: The type of provider to use such as "Secret", or "ConfigMap".
  2432. enum:
  2433. - Secret
  2434. - ConfigMap
  2435. type: string
  2436. required:
  2437. - name
  2438. - type
  2439. type: object
  2440. forwardInconsistent:
  2441. description: ForwardInconsistent tells Vault to forward read-after-write requests to the Vault leader instead of simply retrying within a loop. This can increase performance if the option is enabled serverside. https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header
  2442. type: boolean
  2443. namespace:
  2444. description: 'Name of the vault namespace. Namespaces is a set of features within Vault Enterprise that allows Vault environments to support Secure Multi-tenancy. e.g: "ns1". More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces'
  2445. type: string
  2446. path:
  2447. description: 'Path is the mount path of the Vault KV backend endpoint, e.g: "secret". The v2 KV secret engine version specific "/data" path suffix for fetching secrets from Vault is optional and will be appended if not present in specified path.'
  2448. type: string
  2449. readYourWrites:
  2450. description: ReadYourWrites ensures isolated read-after-write semantics by providing discovered cluster replication states in each request. More information about eventual consistency in Vault can be found here https://www.vaultproject.io/docs/enterprise/consistency
  2451. type: boolean
  2452. server:
  2453. description: 'Server is the connection address for the Vault server, e.g: "https://vault.example.com:8200".'
  2454. type: string
  2455. version:
  2456. default: v2
  2457. description: Version is the Vault KV secret engine version. This can be either "v1" or "v2". Version defaults to "v2".
  2458. enum:
  2459. - v1
  2460. - v2
  2461. type: string
  2462. required:
  2463. - auth
  2464. - server
  2465. type: object
  2466. webhook:
  2467. description: Webhook configures this store to sync secrets using a generic templated webhook
  2468. properties:
  2469. body:
  2470. description: Body
  2471. type: string
  2472. caBundle:
  2473. description: PEM encoded CA bundle used to validate webhook server certificate. Only used if the Server URL is using HTTPS protocol. This parameter is ignored for plain HTTP protocol connection. If not set the system root certificates are used to validate the TLS connection.
  2474. format: byte
  2475. type: string
  2476. caProvider:
  2477. description: The provider for the CA bundle to use to validate webhook server certificate.
  2478. properties:
  2479. key:
  2480. description: The key the value inside of the provider type to use, only used with "Secret" type
  2481. type: string
  2482. name:
  2483. description: The name of the object located at the provider type.
  2484. type: string
  2485. namespace:
  2486. description: The namespace the Provider type is in.
  2487. type: string
  2488. type:
  2489. description: The type of provider to use such as "Secret", or "ConfigMap".
  2490. enum:
  2491. - Secret
  2492. - ConfigMap
  2493. type: string
  2494. required:
  2495. - name
  2496. - type
  2497. type: object
  2498. headers:
  2499. additionalProperties:
  2500. type: string
  2501. description: Headers
  2502. type: object
  2503. method:
  2504. description: Webhook Method
  2505. type: string
  2506. result:
  2507. description: Result formatting
  2508. properties:
  2509. jsonPath:
  2510. description: Json path of return value
  2511. type: string
  2512. type: object
  2513. secrets:
  2514. description: Secrets to fill in templates These secrets will be passed to the templating function as key value pairs under the given name
  2515. items:
  2516. properties:
  2517. name:
  2518. description: Name of this secret in templates
  2519. type: string
  2520. secretRef:
  2521. description: Secret ref to fill in credentials
  2522. properties:
  2523. key:
  2524. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2525. type: string
  2526. name:
  2527. description: The name of the Secret resource being referred to.
  2528. type: string
  2529. namespace:
  2530. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2531. type: string
  2532. type: object
  2533. required:
  2534. - name
  2535. - secretRef
  2536. type: object
  2537. type: array
  2538. timeout:
  2539. description: Timeout
  2540. type: string
  2541. url:
  2542. description: Webhook url to call
  2543. type: string
  2544. required:
  2545. - result
  2546. - url
  2547. type: object
  2548. yandexcertificatemanager:
  2549. description: YandexCertificateManager configures this store to sync secrets using Yandex Certificate Manager provider
  2550. properties:
  2551. apiEndpoint:
  2552. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  2553. type: string
  2554. auth:
  2555. description: Auth defines the information necessary to authenticate against Yandex Certificate Manager
  2556. properties:
  2557. authorizedKeySecretRef:
  2558. description: The authorized key used for authentication
  2559. properties:
  2560. key:
  2561. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2562. type: string
  2563. name:
  2564. description: The name of the Secret resource being referred to.
  2565. type: string
  2566. namespace:
  2567. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2568. type: string
  2569. type: object
  2570. type: object
  2571. caProvider:
  2572. description: The provider for the CA bundle to use to validate Yandex.Cloud server certificate.
  2573. properties:
  2574. certSecretRef:
  2575. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  2576. properties:
  2577. key:
  2578. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2579. type: string
  2580. name:
  2581. description: The name of the Secret resource being referred to.
  2582. type: string
  2583. namespace:
  2584. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2585. type: string
  2586. type: object
  2587. type: object
  2588. required:
  2589. - auth
  2590. type: object
  2591. yandexlockbox:
  2592. description: YandexLockbox configures this store to sync secrets using Yandex Lockbox provider
  2593. properties:
  2594. apiEndpoint:
  2595. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  2596. type: string
  2597. auth:
  2598. description: Auth defines the information necessary to authenticate against Yandex Lockbox
  2599. properties:
  2600. authorizedKeySecretRef:
  2601. description: The authorized key used for authentication
  2602. properties:
  2603. key:
  2604. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2605. type: string
  2606. name:
  2607. description: The name of the Secret resource being referred to.
  2608. type: string
  2609. namespace:
  2610. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2611. type: string
  2612. type: object
  2613. type: object
  2614. caProvider:
  2615. description: The provider for the CA bundle to use to validate Yandex.Cloud server certificate.
  2616. properties:
  2617. certSecretRef:
  2618. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  2619. properties:
  2620. key:
  2621. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  2622. type: string
  2623. name:
  2624. description: The name of the Secret resource being referred to.
  2625. type: string
  2626. namespace:
  2627. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  2628. type: string
  2629. type: object
  2630. type: object
  2631. required:
  2632. - auth
  2633. type: object
  2634. type: object
  2635. refreshInterval:
  2636. description: Used to configure store refresh interval in seconds. Empty or 0 will default to the controller config.
  2637. type: integer
  2638. retrySettings:
  2639. description: Used to configure http retries if failed
  2640. properties:
  2641. maxRetries:
  2642. format: int32
  2643. type: integer
  2644. retryInterval:
  2645. type: string
  2646. type: object
  2647. required:
  2648. - provider
  2649. type: object
  2650. status:
  2651. description: SecretStoreStatus defines the observed state of the SecretStore.
  2652. properties:
  2653. conditions:
  2654. items:
  2655. properties:
  2656. lastTransitionTime:
  2657. format: date-time
  2658. type: string
  2659. message:
  2660. type: string
  2661. reason:
  2662. type: string
  2663. status:
  2664. type: string
  2665. type:
  2666. type: string
  2667. required:
  2668. - status
  2669. - type
  2670. type: object
  2671. type: array
  2672. type: object
  2673. type: object
  2674. served: true
  2675. storage: true
  2676. subresources:
  2677. status: {}
  2678. conversion:
  2679. strategy: Webhook
  2680. webhook:
  2681. conversionReviewVersions:
  2682. - v1
  2683. clientConfig:
  2684. service:
  2685. name: kubernetes
  2686. namespace: default
  2687. path: /convert
  2688. ---
  2689. apiVersion: apiextensions.k8s.io/v1
  2690. kind: CustomResourceDefinition
  2691. metadata:
  2692. annotations:
  2693. controller-gen.kubebuilder.io/version: v0.9.2
  2694. creationTimestamp: null
  2695. name: externalsecrets.external-secrets.io
  2696. spec:
  2697. group: external-secrets.io
  2698. names:
  2699. categories:
  2700. - externalsecrets
  2701. kind: ExternalSecret
  2702. listKind: ExternalSecretList
  2703. plural: externalsecrets
  2704. shortNames:
  2705. - es
  2706. singular: externalsecret
  2707. scope: Namespaced
  2708. versions:
  2709. - additionalPrinterColumns:
  2710. - jsonPath: .spec.secretStoreRef.name
  2711. name: Store
  2712. type: string
  2713. - jsonPath: .spec.refreshInterval
  2714. name: Refresh Interval
  2715. type: string
  2716. - jsonPath: .status.conditions[?(@.type=="Ready")].reason
  2717. name: Status
  2718. type: string
  2719. deprecated: true
  2720. name: v1alpha1
  2721. schema:
  2722. openAPIV3Schema:
  2723. description: ExternalSecret is the Schema for the external-secrets API.
  2724. properties:
  2725. apiVersion:
  2726. description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  2727. type: string
  2728. kind:
  2729. description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  2730. type: string
  2731. metadata:
  2732. type: object
  2733. spec:
  2734. description: ExternalSecretSpec defines the desired state of ExternalSecret.
  2735. properties:
  2736. data:
  2737. description: Data defines the connection between the Kubernetes Secret keys and the Provider data
  2738. items:
  2739. description: ExternalSecretData defines the connection between the Kubernetes Secret key (spec.data.<key>) and the Provider data.
  2740. properties:
  2741. remoteRef:
  2742. description: ExternalSecretDataRemoteRef defines Provider data location.
  2743. properties:
  2744. conversionStrategy:
  2745. default: Default
  2746. description: Used to define a conversion Strategy
  2747. type: string
  2748. key:
  2749. description: Key is the key used in the Provider, mandatory
  2750. type: string
  2751. property:
  2752. description: Used to select a specific property of the Provider value (if a map), if supported
  2753. type: string
  2754. version:
  2755. description: Used to select a specific version of the Provider value, if supported
  2756. type: string
  2757. required:
  2758. - key
  2759. type: object
  2760. secretKey:
  2761. type: string
  2762. required:
  2763. - remoteRef
  2764. - secretKey
  2765. type: object
  2766. type: array
  2767. dataFrom:
  2768. description: DataFrom is used to fetch all properties from a specific Provider data If multiple entries are specified, the Secret keys are merged in the specified order
  2769. items:
  2770. description: ExternalSecretDataRemoteRef defines Provider data location.
  2771. properties:
  2772. conversionStrategy:
  2773. default: Default
  2774. description: Used to define a conversion Strategy
  2775. type: string
  2776. key:
  2777. description: Key is the key used in the Provider, mandatory
  2778. type: string
  2779. property:
  2780. description: Used to select a specific property of the Provider value (if a map), if supported
  2781. type: string
  2782. version:
  2783. description: Used to select a specific version of the Provider value, if supported
  2784. type: string
  2785. required:
  2786. - key
  2787. type: object
  2788. type: array
  2789. refreshInterval:
  2790. default: 1h
  2791. description: RefreshInterval is the amount of time before the values are read again from the SecretStore provider Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h" May be set to zero to fetch and create it once. Defaults to 1h.
  2792. type: string
  2793. secretStoreRef:
  2794. description: SecretStoreRef defines which SecretStore to fetch the ExternalSecret data.
  2795. properties:
  2796. kind:
  2797. description: Kind of the SecretStore resource (SecretStore or ClusterSecretStore) Defaults to `SecretStore`
  2798. type: string
  2799. name:
  2800. description: Name of the SecretStore resource
  2801. type: string
  2802. required:
  2803. - name
  2804. type: object
  2805. target:
  2806. description: ExternalSecretTarget defines the Kubernetes Secret to be created There can be only one target per ExternalSecret.
  2807. properties:
  2808. creationPolicy:
  2809. default: Owner
  2810. description: CreationPolicy defines rules on how to create the resulting Secret Defaults to 'Owner'
  2811. type: string
  2812. immutable:
  2813. description: Immutable defines if the final secret will be immutable
  2814. type: boolean
  2815. name:
  2816. description: Name defines the name of the Secret resource to be managed This field is immutable Defaults to the .metadata.name of the ExternalSecret resource
  2817. type: string
  2818. template:
  2819. description: Template defines a blueprint for the created Secret resource.
  2820. properties:
  2821. data:
  2822. additionalProperties:
  2823. type: string
  2824. type: object
  2825. engineVersion:
  2826. default: v1
  2827. description: EngineVersion specifies the template engine version that should be used to compile/execute the template specified in .data and .templateFrom[].
  2828. type: string
  2829. metadata:
  2830. description: ExternalSecretTemplateMetadata defines metadata fields for the Secret blueprint.
  2831. properties:
  2832. annotations:
  2833. additionalProperties:
  2834. type: string
  2835. type: object
  2836. labels:
  2837. additionalProperties:
  2838. type: string
  2839. type: object
  2840. type: object
  2841. templateFrom:
  2842. items:
  2843. maxProperties: 1
  2844. minProperties: 1
  2845. properties:
  2846. configMap:
  2847. properties:
  2848. items:
  2849. items:
  2850. properties:
  2851. key:
  2852. type: string
  2853. required:
  2854. - key
  2855. type: object
  2856. type: array
  2857. name:
  2858. type: string
  2859. required:
  2860. - items
  2861. - name
  2862. type: object
  2863. secret:
  2864. properties:
  2865. items:
  2866. items:
  2867. properties:
  2868. key:
  2869. type: string
  2870. required:
  2871. - key
  2872. type: object
  2873. type: array
  2874. name:
  2875. type: string
  2876. required:
  2877. - items
  2878. - name
  2879. type: object
  2880. type: object
  2881. type: array
  2882. type:
  2883. type: string
  2884. type: object
  2885. type: object
  2886. required:
  2887. - secretStoreRef
  2888. - target
  2889. type: object
  2890. status:
  2891. properties:
  2892. conditions:
  2893. items:
  2894. properties:
  2895. lastTransitionTime:
  2896. format: date-time
  2897. type: string
  2898. message:
  2899. type: string
  2900. reason:
  2901. type: string
  2902. status:
  2903. type: string
  2904. type:
  2905. type: string
  2906. required:
  2907. - status
  2908. - type
  2909. type: object
  2910. type: array
  2911. refreshTime:
  2912. description: refreshTime is the time and date the external secret was fetched and the target secret updated
  2913. format: date-time
  2914. nullable: true
  2915. type: string
  2916. syncedResourceVersion:
  2917. description: SyncedResourceVersion keeps track of the last synced version
  2918. type: string
  2919. type: object
  2920. type: object
  2921. served: true
  2922. storage: false
  2923. subresources:
  2924. status: {}
  2925. - additionalPrinterColumns:
  2926. - jsonPath: .spec.secretStoreRef.name
  2927. name: Store
  2928. type: string
  2929. - jsonPath: .spec.refreshInterval
  2930. name: Refresh Interval
  2931. type: string
  2932. - jsonPath: .status.conditions[?(@.type=="Ready")].reason
  2933. name: Status
  2934. type: string
  2935. - jsonPath: .status.conditions[?(@.type=="Ready")].status
  2936. name: Ready
  2937. type: string
  2938. name: v1beta1
  2939. schema:
  2940. openAPIV3Schema:
  2941. description: ExternalSecret is the Schema for the external-secrets API.
  2942. properties:
  2943. apiVersion:
  2944. description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  2945. type: string
  2946. kind:
  2947. description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  2948. type: string
  2949. metadata:
  2950. type: object
  2951. spec:
  2952. description: ExternalSecretSpec defines the desired state of ExternalSecret.
  2953. properties:
  2954. data:
  2955. description: Data defines the connection between the Kubernetes Secret keys and the Provider data
  2956. items:
  2957. description: ExternalSecretData defines the connection between the Kubernetes Secret key (spec.data.<key>) and the Provider data.
  2958. properties:
  2959. remoteRef:
  2960. description: ExternalSecretDataRemoteRef defines Provider data location.
  2961. properties:
  2962. conversionStrategy:
  2963. default: Default
  2964. description: Used to define a conversion Strategy
  2965. type: string
  2966. decodingStrategy:
  2967. default: None
  2968. description: Used to define a decoding Strategy
  2969. type: string
  2970. key:
  2971. description: Key is the key used in the Provider, mandatory
  2972. type: string
  2973. metadataPolicy:
  2974. description: Policy for fetching tags/labels from provider secrets, possible options are Fetch, None. Defaults to None
  2975. type: string
  2976. property:
  2977. description: Used to select a specific property of the Provider value (if a map), if supported
  2978. type: string
  2979. version:
  2980. description: Used to select a specific version of the Provider value, if supported
  2981. type: string
  2982. required:
  2983. - key
  2984. type: object
  2985. secretKey:
  2986. type: string
  2987. sourceRef:
  2988. properties:
  2989. generator:
  2990. description: Generator generates secret values on demand A generator is just a embedded type, see apis/generators for available types.
  2991. x-kubernetes-preserve-unknown-fields: true
  2992. generatorRef:
  2993. description: GeneratorRef points to a generator custom resource in
  2994. properties:
  2995. apiVersion:
  2996. type: string
  2997. kind:
  2998. type: string
  2999. name:
  3000. type: string
  3001. required:
  3002. - apiVersion
  3003. - kind
  3004. - name
  3005. type: object
  3006. storeRef:
  3007. description: SecretStoreRef defines which SecretStore to fetch the ExternalSecret data.
  3008. properties:
  3009. kind:
  3010. description: Kind of the SecretStore resource (SecretStore or ClusterSecretStore) Defaults to `SecretStore`
  3011. type: string
  3012. name:
  3013. description: Name of the SecretStore resource
  3014. type: string
  3015. required:
  3016. - name
  3017. type: object
  3018. type: object
  3019. required:
  3020. - remoteRef
  3021. - secretKey
  3022. type: object
  3023. type: array
  3024. dataFrom:
  3025. description: DataFrom is used to fetch all properties from a specific Provider data If multiple entries are specified, the Secret keys are merged in the specified order
  3026. items:
  3027. properties:
  3028. extract:
  3029. description: 'Used to extract multiple key/value pairs from one secret Note: Extract does not support sourceRef.Generator or sourceRef.GeneratorRef.'
  3030. properties:
  3031. conversionStrategy:
  3032. default: Default
  3033. description: Used to define a conversion Strategy
  3034. type: string
  3035. decodingStrategy:
  3036. default: None
  3037. description: Used to define a decoding Strategy
  3038. type: string
  3039. key:
  3040. description: Key is the key used in the Provider, mandatory
  3041. type: string
  3042. metadataPolicy:
  3043. description: Policy for fetching tags/labels from provider secrets, possible options are Fetch, None. Defaults to None
  3044. type: string
  3045. property:
  3046. description: Used to select a specific property of the Provider value (if a map), if supported
  3047. type: string
  3048. version:
  3049. description: Used to select a specific version of the Provider value, if supported
  3050. type: string
  3051. required:
  3052. - key
  3053. type: object
  3054. find:
  3055. description: 'Used to find secrets based on tags or regular expressions Note: Find does not support sourceRef.Generator or sourceRef.GeneratorRef.'
  3056. properties:
  3057. conversionStrategy:
  3058. default: Default
  3059. description: Used to define a conversion Strategy
  3060. type: string
  3061. decodingStrategy:
  3062. default: None
  3063. description: Used to define a decoding Strategy
  3064. type: string
  3065. name:
  3066. description: Finds secrets based on the name.
  3067. properties:
  3068. regexp:
  3069. description: Finds secrets base
  3070. type: string
  3071. type: object
  3072. path:
  3073. description: A root path to start the find operations.
  3074. type: string
  3075. tags:
  3076. additionalProperties:
  3077. type: string
  3078. description: Find secrets based on tags.
  3079. type: object
  3080. type: object
  3081. rewrite:
  3082. description: Used to rewrite secret Keys after getting them from the secret Provider Multiple Rewrite operations can be provided. They are applied in a layered order (first to last)
  3083. items:
  3084. properties:
  3085. regexp:
  3086. description: Used to rewrite with regular expressions. The resulting key will be the output of a regexp.ReplaceAll operation.
  3087. properties:
  3088. source:
  3089. description: Used to define the regular expression of a re.Compiler.
  3090. type: string
  3091. target:
  3092. description: Used to define the target pattern of a ReplaceAll operation.
  3093. type: string
  3094. required:
  3095. - source
  3096. - target
  3097. type: object
  3098. type: object
  3099. type: array
  3100. sourceRef:
  3101. description: SourceRef points to a store or generator which contains secret values ready to use. Use this in combination with Extract or Find pull values out of a specific SecretStore. When sourceRef points to a generator Extract or Find is not supported. The generator returns a static map of values
  3102. properties:
  3103. generator:
  3104. description: Generator generates secret values on demand A generator is just a embedded type, see apis/generators for available types.
  3105. x-kubernetes-preserve-unknown-fields: true
  3106. generatorRef:
  3107. description: GeneratorRef points to a generator custom resource in
  3108. properties:
  3109. apiVersion:
  3110. type: string
  3111. kind:
  3112. type: string
  3113. name:
  3114. type: string
  3115. required:
  3116. - apiVersion
  3117. - kind
  3118. - name
  3119. type: object
  3120. storeRef:
  3121. description: SecretStoreRef defines which SecretStore to fetch the ExternalSecret data.
  3122. properties:
  3123. kind:
  3124. description: Kind of the SecretStore resource (SecretStore or ClusterSecretStore) Defaults to `SecretStore`
  3125. type: string
  3126. name:
  3127. description: Name of the SecretStore resource
  3128. type: string
  3129. required:
  3130. - name
  3131. type: object
  3132. type: object
  3133. type: object
  3134. type: array
  3135. refreshInterval:
  3136. default: 1h
  3137. description: RefreshInterval is the amount of time before the values are read again from the SecretStore provider Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h" May be set to zero to fetch and create it once. Defaults to 1h.
  3138. type: string
  3139. secretStoreRef:
  3140. description: SecretStoreRef defines which SecretStore to fetch the ExternalSecret data.
  3141. properties:
  3142. kind:
  3143. description: Kind of the SecretStore resource (SecretStore or ClusterSecretStore) Defaults to `SecretStore`
  3144. type: string
  3145. name:
  3146. description: Name of the SecretStore resource
  3147. type: string
  3148. required:
  3149. - name
  3150. type: object
  3151. target:
  3152. default:
  3153. creationPolicy: Owner
  3154. deletionPolicy: Retain
  3155. description: ExternalSecretTarget defines the Kubernetes Secret to be created There can be only one target per ExternalSecret.
  3156. properties:
  3157. creationPolicy:
  3158. default: Owner
  3159. description: CreationPolicy defines rules on how to create the resulting Secret Defaults to 'Owner'
  3160. enum:
  3161. - Owner
  3162. - Orphan
  3163. - Merge
  3164. - None
  3165. type: string
  3166. deletionPolicy:
  3167. default: Retain
  3168. description: DeletionPolicy defines rules on how to delete the resulting Secret Defaults to 'Retain'
  3169. enum:
  3170. - Delete
  3171. - Merge
  3172. - Retain
  3173. type: string
  3174. immutable:
  3175. description: Immutable defines if the final secret will be immutable
  3176. type: boolean
  3177. name:
  3178. description: Name defines the name of the Secret resource to be managed This field is immutable Defaults to the .metadata.name of the ExternalSecret resource
  3179. type: string
  3180. template:
  3181. description: Template defines a blueprint for the created Secret resource.
  3182. properties:
  3183. data:
  3184. additionalProperties:
  3185. type: string
  3186. type: object
  3187. engineVersion:
  3188. default: v2
  3189. type: string
  3190. metadata:
  3191. description: ExternalSecretTemplateMetadata defines metadata fields for the Secret blueprint.
  3192. properties:
  3193. annotations:
  3194. additionalProperties:
  3195. type: string
  3196. type: object
  3197. labels:
  3198. additionalProperties:
  3199. type: string
  3200. type: object
  3201. type: object
  3202. templateFrom:
  3203. items:
  3204. maxProperties: 1
  3205. minProperties: 1
  3206. properties:
  3207. configMap:
  3208. properties:
  3209. items:
  3210. items:
  3211. properties:
  3212. key:
  3213. type: string
  3214. required:
  3215. - key
  3216. type: object
  3217. type: array
  3218. name:
  3219. type: string
  3220. required:
  3221. - items
  3222. - name
  3223. type: object
  3224. secret:
  3225. properties:
  3226. items:
  3227. items:
  3228. properties:
  3229. key:
  3230. type: string
  3231. required:
  3232. - key
  3233. type: object
  3234. type: array
  3235. name:
  3236. type: string
  3237. required:
  3238. - items
  3239. - name
  3240. type: object
  3241. type: object
  3242. type: array
  3243. type:
  3244. type: string
  3245. type: object
  3246. type: object
  3247. type: object
  3248. status:
  3249. properties:
  3250. conditions:
  3251. items:
  3252. properties:
  3253. lastTransitionTime:
  3254. format: date-time
  3255. type: string
  3256. message:
  3257. type: string
  3258. reason:
  3259. type: string
  3260. status:
  3261. type: string
  3262. type:
  3263. type: string
  3264. required:
  3265. - status
  3266. - type
  3267. type: object
  3268. type: array
  3269. refreshTime:
  3270. description: refreshTime is the time and date the external secret was fetched and the target secret updated
  3271. format: date-time
  3272. nullable: true
  3273. type: string
  3274. syncedResourceVersion:
  3275. description: SyncedResourceVersion keeps track of the last synced version
  3276. type: string
  3277. type: object
  3278. type: object
  3279. served: true
  3280. storage: true
  3281. subresources:
  3282. status: {}
  3283. conversion:
  3284. strategy: Webhook
  3285. webhook:
  3286. conversionReviewVersions:
  3287. - v1
  3288. clientConfig:
  3289. service:
  3290. name: kubernetes
  3291. namespace: default
  3292. path: /convert
  3293. ---
  3294. apiVersion: apiextensions.k8s.io/v1
  3295. kind: CustomResourceDefinition
  3296. metadata:
  3297. annotations:
  3298. controller-gen.kubebuilder.io/version: v0.9.2
  3299. creationTimestamp: null
  3300. name: secretstores.external-secrets.io
  3301. spec:
  3302. group: external-secrets.io
  3303. names:
  3304. categories:
  3305. - externalsecrets
  3306. kind: SecretStore
  3307. listKind: SecretStoreList
  3308. plural: secretstores
  3309. shortNames:
  3310. - ss
  3311. singular: secretstore
  3312. scope: Namespaced
  3313. versions:
  3314. - additionalPrinterColumns:
  3315. - jsonPath: .metadata.creationTimestamp
  3316. name: AGE
  3317. type: date
  3318. - jsonPath: .status.conditions[?(@.type=="Ready")].reason
  3319. name: Status
  3320. type: string
  3321. deprecated: true
  3322. name: v1alpha1
  3323. schema:
  3324. openAPIV3Schema:
  3325. description: SecretStore represents a secure external location for storing secrets, which can be referenced as part of `storeRef` fields.
  3326. properties:
  3327. apiVersion:
  3328. description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  3329. type: string
  3330. kind:
  3331. description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  3332. type: string
  3333. metadata:
  3334. type: object
  3335. spec:
  3336. description: SecretStoreSpec defines the desired state of SecretStore.
  3337. properties:
  3338. controller:
  3339. description: 'Used to select the correct KES controller (think: ingress.ingressClassName) The KES controller is instantiated with a specific controller name and filters ES based on this property'
  3340. type: string
  3341. provider:
  3342. description: Used to configure the provider. Only one provider may be set
  3343. maxProperties: 1
  3344. minProperties: 1
  3345. properties:
  3346. akeyless:
  3347. description: Akeyless configures this store to sync secrets using Akeyless Vault provider
  3348. properties:
  3349. akeylessGWApiURL:
  3350. description: Akeyless GW API Url from which the secrets to be fetched from.
  3351. type: string
  3352. authSecretRef:
  3353. description: Auth configures how the operator authenticates with Akeyless.
  3354. properties:
  3355. secretRef:
  3356. description: 'AkeylessAuthSecretRef AKEYLESS_ACCESS_TYPE_PARAM: AZURE_OBJ_ID OR GCP_AUDIENCE OR ACCESS_KEY OR KUB_CONFIG_NAME.'
  3357. properties:
  3358. accessID:
  3359. description: The SecretAccessID is used for authentication
  3360. properties:
  3361. key:
  3362. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3363. type: string
  3364. name:
  3365. description: The name of the Secret resource being referred to.
  3366. type: string
  3367. namespace:
  3368. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3369. type: string
  3370. type: object
  3371. accessType:
  3372. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  3373. properties:
  3374. key:
  3375. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3376. type: string
  3377. name:
  3378. description: The name of the Secret resource being referred to.
  3379. type: string
  3380. namespace:
  3381. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3382. type: string
  3383. type: object
  3384. accessTypeParam:
  3385. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  3386. properties:
  3387. key:
  3388. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3389. type: string
  3390. name:
  3391. description: The name of the Secret resource being referred to.
  3392. type: string
  3393. namespace:
  3394. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3395. type: string
  3396. type: object
  3397. type: object
  3398. required:
  3399. - secretRef
  3400. type: object
  3401. required:
  3402. - akeylessGWApiURL
  3403. - authSecretRef
  3404. type: object
  3405. alibaba:
  3406. description: Alibaba configures this store to sync secrets using Alibaba Cloud provider
  3407. properties:
  3408. auth:
  3409. description: AlibabaAuth contains a secretRef for credentials.
  3410. properties:
  3411. secretRef:
  3412. description: AlibabaAuthSecretRef holds secret references for Alibaba credentials.
  3413. properties:
  3414. accessKeyIDSecretRef:
  3415. description: The AccessKeyID is used for authentication
  3416. properties:
  3417. key:
  3418. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3419. type: string
  3420. name:
  3421. description: The name of the Secret resource being referred to.
  3422. type: string
  3423. namespace:
  3424. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3425. type: string
  3426. type: object
  3427. accessKeySecretSecretRef:
  3428. description: The AccessKeySecret is used for authentication
  3429. properties:
  3430. key:
  3431. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3432. type: string
  3433. name:
  3434. description: The name of the Secret resource being referred to.
  3435. type: string
  3436. namespace:
  3437. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3438. type: string
  3439. type: object
  3440. required:
  3441. - accessKeyIDSecretRef
  3442. - accessKeySecretSecretRef
  3443. type: object
  3444. required:
  3445. - secretRef
  3446. type: object
  3447. endpoint:
  3448. type: string
  3449. regionID:
  3450. description: Alibaba Region to be used for the provider
  3451. type: string
  3452. required:
  3453. - auth
  3454. - regionID
  3455. type: object
  3456. aws:
  3457. description: AWS configures this store to sync secrets using AWS Secret Manager provider
  3458. properties:
  3459. auth:
  3460. description: 'Auth defines the information necessary to authenticate against AWS if not set aws sdk will infer credentials from your environment see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials'
  3461. properties:
  3462. jwt:
  3463. description: Authenticate against AWS using service account tokens.
  3464. properties:
  3465. serviceAccountRef:
  3466. description: A reference to a ServiceAccount resource.
  3467. properties:
  3468. audiences:
  3469. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  3470. items:
  3471. type: string
  3472. type: array
  3473. name:
  3474. description: The name of the ServiceAccount resource being referred to.
  3475. type: string
  3476. namespace:
  3477. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3478. type: string
  3479. required:
  3480. - name
  3481. type: object
  3482. type: object
  3483. secretRef:
  3484. description: AWSAuthSecretRef holds secret references for AWS credentials both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate.
  3485. properties:
  3486. accessKeyIDSecretRef:
  3487. description: The AccessKeyID is used for authentication
  3488. properties:
  3489. key:
  3490. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3491. type: string
  3492. name:
  3493. description: The name of the Secret resource being referred to.
  3494. type: string
  3495. namespace:
  3496. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3497. type: string
  3498. type: object
  3499. secretAccessKeySecretRef:
  3500. description: The SecretAccessKey is used for authentication
  3501. properties:
  3502. key:
  3503. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3504. type: string
  3505. name:
  3506. description: The name of the Secret resource being referred to.
  3507. type: string
  3508. namespace:
  3509. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3510. type: string
  3511. type: object
  3512. type: object
  3513. type: object
  3514. region:
  3515. description: AWS Region to be used for the provider
  3516. type: string
  3517. role:
  3518. description: Role is a Role ARN which the SecretManager provider will assume
  3519. type: string
  3520. service:
  3521. description: Service defines which service should be used to fetch the secrets
  3522. enum:
  3523. - SecretsManager
  3524. - ParameterStore
  3525. type: string
  3526. required:
  3527. - region
  3528. - service
  3529. type: object
  3530. azurekv:
  3531. description: AzureKV configures this store to sync secrets using Azure Key Vault provider
  3532. properties:
  3533. authSecretRef:
  3534. description: Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type.
  3535. properties:
  3536. clientId:
  3537. description: The Azure clientId of the service principle used for authentication.
  3538. properties:
  3539. key:
  3540. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3541. type: string
  3542. name:
  3543. description: The name of the Secret resource being referred to.
  3544. type: string
  3545. namespace:
  3546. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3547. type: string
  3548. type: object
  3549. clientSecret:
  3550. description: The Azure ClientSecret of the service principle used for authentication.
  3551. properties:
  3552. key:
  3553. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3554. type: string
  3555. name:
  3556. description: The name of the Secret resource being referred to.
  3557. type: string
  3558. namespace:
  3559. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3560. type: string
  3561. type: object
  3562. type: object
  3563. authType:
  3564. default: ServicePrincipal
  3565. description: 'Auth type defines how to authenticate to the keyvault service. Valid values are: - "ServicePrincipal" (default): Using a service principal (tenantId, clientId, clientSecret) - "ManagedIdentity": Using Managed Identity assigned to the pod (see aad-pod-identity)'
  3566. enum:
  3567. - ServicePrincipal
  3568. - ManagedIdentity
  3569. - WorkloadIdentity
  3570. type: string
  3571. identityId:
  3572. description: If multiple Managed Identity is assigned to the pod, you can select the one to be used
  3573. type: string
  3574. serviceAccountRef:
  3575. description: ServiceAccountRef specified the service account that should be used when authenticating with WorkloadIdentity.
  3576. properties:
  3577. audiences:
  3578. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  3579. items:
  3580. type: string
  3581. type: array
  3582. name:
  3583. description: The name of the ServiceAccount resource being referred to.
  3584. type: string
  3585. namespace:
  3586. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3587. type: string
  3588. required:
  3589. - name
  3590. type: object
  3591. tenantId:
  3592. description: TenantID configures the Azure Tenant to send requests to. Required for ServicePrincipal auth type.
  3593. type: string
  3594. vaultUrl:
  3595. description: Vault Url from which the secrets to be fetched from.
  3596. type: string
  3597. required:
  3598. - vaultUrl
  3599. type: object
  3600. fake:
  3601. description: Fake configures a store with static key/value pairs
  3602. properties:
  3603. data:
  3604. items:
  3605. properties:
  3606. key:
  3607. type: string
  3608. value:
  3609. type: string
  3610. valueMap:
  3611. additionalProperties:
  3612. type: string
  3613. type: object
  3614. version:
  3615. type: string
  3616. required:
  3617. - key
  3618. type: object
  3619. type: array
  3620. required:
  3621. - data
  3622. type: object
  3623. gcpsm:
  3624. description: GCPSM configures this store to sync secrets using Google Cloud Platform Secret Manager provider
  3625. properties:
  3626. auth:
  3627. description: Auth defines the information necessary to authenticate against GCP
  3628. properties:
  3629. secretRef:
  3630. properties:
  3631. secretAccessKeySecretRef:
  3632. description: The SecretAccessKey is used for authentication
  3633. properties:
  3634. key:
  3635. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3636. type: string
  3637. name:
  3638. description: The name of the Secret resource being referred to.
  3639. type: string
  3640. namespace:
  3641. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3642. type: string
  3643. type: object
  3644. type: object
  3645. workloadIdentity:
  3646. properties:
  3647. clusterLocation:
  3648. type: string
  3649. clusterName:
  3650. type: string
  3651. clusterProjectID:
  3652. type: string
  3653. serviceAccountRef:
  3654. description: A reference to a ServiceAccount resource.
  3655. properties:
  3656. audiences:
  3657. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  3658. items:
  3659. type: string
  3660. type: array
  3661. name:
  3662. description: The name of the ServiceAccount resource being referred to.
  3663. type: string
  3664. namespace:
  3665. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3666. type: string
  3667. required:
  3668. - name
  3669. type: object
  3670. required:
  3671. - clusterLocation
  3672. - clusterName
  3673. - serviceAccountRef
  3674. type: object
  3675. type: object
  3676. projectID:
  3677. description: ProjectID project where secret is located
  3678. type: string
  3679. type: object
  3680. gitlab:
  3681. description: Gitlab configures this store to sync secrets using Gitlab Variables provider
  3682. properties:
  3683. auth:
  3684. description: Auth configures how secret-manager authenticates with a GitLab instance.
  3685. properties:
  3686. SecretRef:
  3687. properties:
  3688. accessToken:
  3689. description: AccessToken is used for authentication.
  3690. properties:
  3691. key:
  3692. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3693. type: string
  3694. name:
  3695. description: The name of the Secret resource being referred to.
  3696. type: string
  3697. namespace:
  3698. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3699. type: string
  3700. type: object
  3701. type: object
  3702. required:
  3703. - SecretRef
  3704. type: object
  3705. projectID:
  3706. description: ProjectID specifies a project where secrets are located.
  3707. type: string
  3708. url:
  3709. description: URL configures the GitLab instance URL. Defaults to https://gitlab.com/.
  3710. type: string
  3711. required:
  3712. - auth
  3713. type: object
  3714. ibm:
  3715. description: IBM configures this store to sync secrets using IBM Cloud provider
  3716. properties:
  3717. auth:
  3718. description: Auth configures how secret-manager authenticates with the IBM secrets manager.
  3719. properties:
  3720. secretRef:
  3721. properties:
  3722. secretApiKeySecretRef:
  3723. description: The SecretAccessKey is used for authentication
  3724. properties:
  3725. key:
  3726. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3727. type: string
  3728. name:
  3729. description: The name of the Secret resource being referred to.
  3730. type: string
  3731. namespace:
  3732. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3733. type: string
  3734. type: object
  3735. type: object
  3736. required:
  3737. - secretRef
  3738. type: object
  3739. serviceUrl:
  3740. description: ServiceURL is the Endpoint URL that is specific to the Secrets Manager service instance
  3741. type: string
  3742. required:
  3743. - auth
  3744. type: object
  3745. kubernetes:
  3746. description: Kubernetes configures this store to sync secrets using a Kubernetes cluster provider
  3747. properties:
  3748. auth:
  3749. description: Auth configures how secret-manager authenticates with a Kubernetes instance.
  3750. maxProperties: 1
  3751. minProperties: 1
  3752. properties:
  3753. cert:
  3754. description: has both clientCert and clientKey as secretKeySelector
  3755. properties:
  3756. clientCert:
  3757. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  3758. properties:
  3759. key:
  3760. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3761. type: string
  3762. name:
  3763. description: The name of the Secret resource being referred to.
  3764. type: string
  3765. namespace:
  3766. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3767. type: string
  3768. type: object
  3769. clientKey:
  3770. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  3771. properties:
  3772. key:
  3773. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3774. type: string
  3775. name:
  3776. description: The name of the Secret resource being referred to.
  3777. type: string
  3778. namespace:
  3779. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3780. type: string
  3781. type: object
  3782. type: object
  3783. serviceAccount:
  3784. description: points to a service account that should be used for authentication
  3785. properties:
  3786. serviceAccount:
  3787. description: A reference to a ServiceAccount resource.
  3788. properties:
  3789. audiences:
  3790. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  3791. items:
  3792. type: string
  3793. type: array
  3794. name:
  3795. description: The name of the ServiceAccount resource being referred to.
  3796. type: string
  3797. namespace:
  3798. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3799. type: string
  3800. required:
  3801. - name
  3802. type: object
  3803. type: object
  3804. token:
  3805. description: use static token to authenticate with
  3806. properties:
  3807. bearerToken:
  3808. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  3809. properties:
  3810. key:
  3811. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3812. type: string
  3813. name:
  3814. description: The name of the Secret resource being referred to.
  3815. type: string
  3816. namespace:
  3817. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3818. type: string
  3819. type: object
  3820. type: object
  3821. type: object
  3822. remoteNamespace:
  3823. default: default
  3824. description: Remote namespace to fetch the secrets from
  3825. type: string
  3826. server:
  3827. description: configures the Kubernetes server Address.
  3828. properties:
  3829. caBundle:
  3830. description: CABundle is a base64-encoded CA certificate
  3831. format: byte
  3832. type: string
  3833. caProvider:
  3834. description: 'see: https://external-secrets.io/v0.4.1/spec/#external-secrets.io/v1alpha1.CAProvider'
  3835. properties:
  3836. key:
  3837. description: The key the value inside of the provider type to use, only used with "Secret" type
  3838. type: string
  3839. name:
  3840. description: The name of the object located at the provider type.
  3841. type: string
  3842. namespace:
  3843. description: The namespace the Provider type is in.
  3844. type: string
  3845. type:
  3846. description: The type of provider to use such as "Secret", or "ConfigMap".
  3847. enum:
  3848. - Secret
  3849. - ConfigMap
  3850. type: string
  3851. required:
  3852. - name
  3853. - type
  3854. type: object
  3855. url:
  3856. default: kubernetes.default
  3857. description: configures the Kubernetes server Address.
  3858. type: string
  3859. type: object
  3860. required:
  3861. - auth
  3862. type: object
  3863. oracle:
  3864. description: Oracle configures this store to sync secrets using Oracle Vault provider
  3865. properties:
  3866. auth:
  3867. description: Auth configures how secret-manager authenticates with the Oracle Vault. If empty, use the instance principal, otherwise the user credentials specified in Auth.
  3868. properties:
  3869. secretRef:
  3870. description: SecretRef to pass through sensitive information.
  3871. properties:
  3872. fingerprint:
  3873. description: Fingerprint is the fingerprint of the API private key.
  3874. properties:
  3875. key:
  3876. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3877. type: string
  3878. name:
  3879. description: The name of the Secret resource being referred to.
  3880. type: string
  3881. namespace:
  3882. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3883. type: string
  3884. type: object
  3885. privatekey:
  3886. description: PrivateKey is the user's API Signing Key in PEM format, used for authentication.
  3887. properties:
  3888. key:
  3889. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3890. type: string
  3891. name:
  3892. description: The name of the Secret resource being referred to.
  3893. type: string
  3894. namespace:
  3895. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3896. type: string
  3897. type: object
  3898. required:
  3899. - fingerprint
  3900. - privatekey
  3901. type: object
  3902. tenancy:
  3903. description: Tenancy is the tenancy OCID where user is located.
  3904. type: string
  3905. user:
  3906. description: User is an access OCID specific to the account.
  3907. type: string
  3908. required:
  3909. - secretRef
  3910. - tenancy
  3911. - user
  3912. type: object
  3913. region:
  3914. description: Region is the region where vault is located.
  3915. type: string
  3916. vault:
  3917. description: Vault is the vault's OCID of the specific vault where secret is located.
  3918. type: string
  3919. required:
  3920. - region
  3921. - vault
  3922. type: object
  3923. vault:
  3924. description: Vault configures this store to sync secrets using Hashi provider
  3925. properties:
  3926. auth:
  3927. description: Auth configures how secret-manager authenticates with the Vault server.
  3928. properties:
  3929. appRole:
  3930. description: AppRole authenticates with Vault using the App Role auth mechanism, with the role and secret stored in a Kubernetes Secret resource.
  3931. properties:
  3932. path:
  3933. default: approle
  3934. description: 'Path where the App Role authentication backend is mounted in Vault, e.g: "approle"'
  3935. type: string
  3936. roleId:
  3937. description: RoleID configured in the App Role authentication backend when setting up the authentication backend in Vault.
  3938. type: string
  3939. secretRef:
  3940. description: Reference to a key in a Secret that contains the App Role secret used to authenticate with Vault. The `key` field must be specified and denotes which entry within the Secret resource is used as the app role secret.
  3941. properties:
  3942. key:
  3943. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3944. type: string
  3945. name:
  3946. description: The name of the Secret resource being referred to.
  3947. type: string
  3948. namespace:
  3949. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3950. type: string
  3951. type: object
  3952. required:
  3953. - path
  3954. - roleId
  3955. - secretRef
  3956. type: object
  3957. cert:
  3958. description: Cert authenticates with TLS Certificates by passing client certificate, private key and ca certificate Cert authentication method
  3959. properties:
  3960. clientCert:
  3961. description: ClientCert is a certificate to authenticate using the Cert Vault authentication method
  3962. properties:
  3963. key:
  3964. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3965. type: string
  3966. name:
  3967. description: The name of the Secret resource being referred to.
  3968. type: string
  3969. namespace:
  3970. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3971. type: string
  3972. type: object
  3973. secretRef:
  3974. description: SecretRef to a key in a Secret resource containing client private key to authenticate with Vault using the Cert authentication method
  3975. properties:
  3976. key:
  3977. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  3978. type: string
  3979. name:
  3980. description: The name of the Secret resource being referred to.
  3981. type: string
  3982. namespace:
  3983. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  3984. type: string
  3985. type: object
  3986. type: object
  3987. jwt:
  3988. description: Jwt authenticates with Vault by passing role and JWT token using the JWT/OIDC authentication method
  3989. properties:
  3990. kubernetesServiceAccountToken:
  3991. description: Optional ServiceAccountToken specifies the Kubernetes service account for which to request a token for with the `TokenRequest` API.
  3992. properties:
  3993. audiences:
  3994. description: Optional audiences field that will be used to request a temporary Kubernetes service account token for the service account referenced by `serviceAccountRef`. Defaults to a single audience `vault` it not specified.
  3995. items:
  3996. type: string
  3997. type: array
  3998. expirationSeconds:
  3999. description: Optional expiration time in seconds that will be used to request a temporary Kubernetes service account token for the service account referenced by `serviceAccountRef`. Defaults to 10 minutes.
  4000. format: int64
  4001. type: integer
  4002. serviceAccountRef:
  4003. description: Service account field containing the name of a kubernetes ServiceAccount.
  4004. properties:
  4005. audiences:
  4006. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  4007. items:
  4008. type: string
  4009. type: array
  4010. name:
  4011. description: The name of the ServiceAccount resource being referred to.
  4012. type: string
  4013. namespace:
  4014. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4015. type: string
  4016. required:
  4017. - name
  4018. type: object
  4019. required:
  4020. - serviceAccountRef
  4021. type: object
  4022. path:
  4023. default: jwt
  4024. description: 'Path where the JWT authentication backend is mounted in Vault, e.g: "jwt"'
  4025. type: string
  4026. role:
  4027. description: Role is a JWT role to authenticate using the JWT/OIDC Vault authentication method
  4028. type: string
  4029. secretRef:
  4030. description: Optional SecretRef that refers to a key in a Secret resource containing JWT token to authenticate with Vault using the JWT/OIDC authentication method.
  4031. properties:
  4032. key:
  4033. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4034. type: string
  4035. name:
  4036. description: The name of the Secret resource being referred to.
  4037. type: string
  4038. namespace:
  4039. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4040. type: string
  4041. type: object
  4042. required:
  4043. - path
  4044. type: object
  4045. kubernetes:
  4046. description: Kubernetes authenticates with Vault by passing the ServiceAccount token stored in the named Secret resource to the Vault server.
  4047. properties:
  4048. mountPath:
  4049. default: kubernetes
  4050. description: 'Path where the Kubernetes authentication backend is mounted in Vault, e.g: "kubernetes"'
  4051. type: string
  4052. role:
  4053. description: A required field containing the Vault Role to assume. A Role binds a Kubernetes ServiceAccount with a set of Vault policies.
  4054. type: string
  4055. secretRef:
  4056. description: Optional secret field containing a Kubernetes ServiceAccount JWT used for authenticating with Vault. If a name is specified without a key, `token` is the default. If one is not specified, the one bound to the controller will be used.
  4057. properties:
  4058. key:
  4059. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4060. type: string
  4061. name:
  4062. description: The name of the Secret resource being referred to.
  4063. type: string
  4064. namespace:
  4065. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4066. type: string
  4067. type: object
  4068. serviceAccountRef:
  4069. description: Optional service account field containing the name of a kubernetes ServiceAccount. If the service account is specified, the service account secret token JWT will be used for authenticating with Vault. If the service account selector is not supplied, the secretRef will be used instead.
  4070. properties:
  4071. audiences:
  4072. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  4073. items:
  4074. type: string
  4075. type: array
  4076. name:
  4077. description: The name of the ServiceAccount resource being referred to.
  4078. type: string
  4079. namespace:
  4080. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4081. type: string
  4082. required:
  4083. - name
  4084. type: object
  4085. required:
  4086. - mountPath
  4087. - role
  4088. type: object
  4089. ldap:
  4090. description: Ldap authenticates with Vault by passing username/password pair using the LDAP authentication method
  4091. properties:
  4092. path:
  4093. default: ldap
  4094. description: 'Path where the LDAP authentication backend is mounted in Vault, e.g: "ldap"'
  4095. type: string
  4096. secretRef:
  4097. description: SecretRef to a key in a Secret resource containing password for the LDAP user used to authenticate with Vault using the LDAP authentication method
  4098. properties:
  4099. key:
  4100. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4101. type: string
  4102. name:
  4103. description: The name of the Secret resource being referred to.
  4104. type: string
  4105. namespace:
  4106. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4107. type: string
  4108. type: object
  4109. username:
  4110. description: Username is a LDAP user name used to authenticate using the LDAP Vault authentication method
  4111. type: string
  4112. required:
  4113. - path
  4114. - username
  4115. type: object
  4116. tokenSecretRef:
  4117. description: TokenSecretRef authenticates with Vault by presenting a token.
  4118. properties:
  4119. key:
  4120. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4121. type: string
  4122. name:
  4123. description: The name of the Secret resource being referred to.
  4124. type: string
  4125. namespace:
  4126. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4127. type: string
  4128. type: object
  4129. type: object
  4130. caBundle:
  4131. description: PEM encoded CA bundle used to validate Vault server certificate. Only used if the Server URL is using HTTPS protocol. This parameter is ignored for plain HTTP protocol connection. If not set the system root certificates are used to validate the TLS connection.
  4132. format: byte
  4133. type: string
  4134. caProvider:
  4135. description: The provider for the CA bundle to use to validate Vault server certificate.
  4136. properties:
  4137. key:
  4138. description: The key the value inside of the provider type to use, only used with "Secret" type
  4139. type: string
  4140. name:
  4141. description: The name of the object located at the provider type.
  4142. type: string
  4143. namespace:
  4144. description: The namespace the Provider type is in.
  4145. type: string
  4146. type:
  4147. description: The type of provider to use such as "Secret", or "ConfigMap".
  4148. enum:
  4149. - Secret
  4150. - ConfigMap
  4151. type: string
  4152. required:
  4153. - name
  4154. - type
  4155. type: object
  4156. forwardInconsistent:
  4157. description: ForwardInconsistent tells Vault to forward read-after-write requests to the Vault leader instead of simply retrying within a loop. This can increase performance if the option is enabled serverside. https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header
  4158. type: boolean
  4159. namespace:
  4160. description: 'Name of the vault namespace. Namespaces is a set of features within Vault Enterprise that allows Vault environments to support Secure Multi-tenancy. e.g: "ns1". More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces'
  4161. type: string
  4162. path:
  4163. description: 'Path is the mount path of the Vault KV backend endpoint, e.g: "secret". The v2 KV secret engine version specific "/data" path suffix for fetching secrets from Vault is optional and will be appended if not present in specified path.'
  4164. type: string
  4165. readYourWrites:
  4166. description: ReadYourWrites ensures isolated read-after-write semantics by providing discovered cluster replication states in each request. More information about eventual consistency in Vault can be found here https://www.vaultproject.io/docs/enterprise/consistency
  4167. type: boolean
  4168. server:
  4169. description: 'Server is the connection address for the Vault server, e.g: "https://vault.example.com:8200".'
  4170. type: string
  4171. version:
  4172. default: v2
  4173. description: Version is the Vault KV secret engine version. This can be either "v1" or "v2". Version defaults to "v2".
  4174. enum:
  4175. - v1
  4176. - v2
  4177. type: string
  4178. required:
  4179. - auth
  4180. - server
  4181. type: object
  4182. webhook:
  4183. description: Webhook configures this store to sync secrets using a generic templated webhook
  4184. properties:
  4185. body:
  4186. description: Body
  4187. type: string
  4188. caBundle:
  4189. description: PEM encoded CA bundle used to validate webhook server certificate. Only used if the Server URL is using HTTPS protocol. This parameter is ignored for plain HTTP protocol connection. If not set the system root certificates are used to validate the TLS connection.
  4190. format: byte
  4191. type: string
  4192. caProvider:
  4193. description: The provider for the CA bundle to use to validate webhook server certificate.
  4194. properties:
  4195. key:
  4196. description: The key the value inside of the provider type to use, only used with "Secret" type
  4197. type: string
  4198. name:
  4199. description: The name of the object located at the provider type.
  4200. type: string
  4201. namespace:
  4202. description: The namespace the Provider type is in.
  4203. type: string
  4204. type:
  4205. description: The type of provider to use such as "Secret", or "ConfigMap".
  4206. enum:
  4207. - Secret
  4208. - ConfigMap
  4209. type: string
  4210. required:
  4211. - name
  4212. - type
  4213. type: object
  4214. headers:
  4215. additionalProperties:
  4216. type: string
  4217. description: Headers
  4218. type: object
  4219. method:
  4220. description: Webhook Method
  4221. type: string
  4222. result:
  4223. description: Result formatting
  4224. properties:
  4225. jsonPath:
  4226. description: Json path of return value
  4227. type: string
  4228. type: object
  4229. secrets:
  4230. description: Secrets to fill in templates These secrets will be passed to the templating function as key value pairs under the given name
  4231. items:
  4232. properties:
  4233. name:
  4234. description: Name of this secret in templates
  4235. type: string
  4236. secretRef:
  4237. description: Secret ref to fill in credentials
  4238. properties:
  4239. key:
  4240. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4241. type: string
  4242. name:
  4243. description: The name of the Secret resource being referred to.
  4244. type: string
  4245. namespace:
  4246. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4247. type: string
  4248. type: object
  4249. required:
  4250. - name
  4251. - secretRef
  4252. type: object
  4253. type: array
  4254. timeout:
  4255. description: Timeout
  4256. type: string
  4257. url:
  4258. description: Webhook url to call
  4259. type: string
  4260. required:
  4261. - result
  4262. - url
  4263. type: object
  4264. yandexlockbox:
  4265. description: YandexLockbox configures this store to sync secrets using Yandex Lockbox provider
  4266. properties:
  4267. apiEndpoint:
  4268. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  4269. type: string
  4270. auth:
  4271. description: Auth defines the information necessary to authenticate against Yandex Lockbox
  4272. properties:
  4273. authorizedKeySecretRef:
  4274. description: The authorized key used for authentication
  4275. properties:
  4276. key:
  4277. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4278. type: string
  4279. name:
  4280. description: The name of the Secret resource being referred to.
  4281. type: string
  4282. namespace:
  4283. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4284. type: string
  4285. type: object
  4286. type: object
  4287. caProvider:
  4288. description: The provider for the CA bundle to use to validate Yandex.Cloud server certificate.
  4289. properties:
  4290. certSecretRef:
  4291. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  4292. properties:
  4293. key:
  4294. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4295. type: string
  4296. name:
  4297. description: The name of the Secret resource being referred to.
  4298. type: string
  4299. namespace:
  4300. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4301. type: string
  4302. type: object
  4303. type: object
  4304. required:
  4305. - auth
  4306. type: object
  4307. type: object
  4308. retrySettings:
  4309. description: Used to configure http retries if failed
  4310. properties:
  4311. maxRetries:
  4312. format: int32
  4313. type: integer
  4314. retryInterval:
  4315. type: string
  4316. type: object
  4317. required:
  4318. - provider
  4319. type: object
  4320. status:
  4321. description: SecretStoreStatus defines the observed state of the SecretStore.
  4322. properties:
  4323. conditions:
  4324. items:
  4325. properties:
  4326. lastTransitionTime:
  4327. format: date-time
  4328. type: string
  4329. message:
  4330. type: string
  4331. reason:
  4332. type: string
  4333. status:
  4334. type: string
  4335. type:
  4336. type: string
  4337. required:
  4338. - status
  4339. - type
  4340. type: object
  4341. type: array
  4342. type: object
  4343. type: object
  4344. served: true
  4345. storage: false
  4346. subresources:
  4347. status: {}
  4348. - additionalPrinterColumns:
  4349. - jsonPath: .metadata.creationTimestamp
  4350. name: AGE
  4351. type: date
  4352. - jsonPath: .status.conditions[?(@.type=="Ready")].reason
  4353. name: Status
  4354. type: string
  4355. - jsonPath: .status.conditions[?(@.type=="Ready")].status
  4356. name: Ready
  4357. type: string
  4358. name: v1beta1
  4359. schema:
  4360. openAPIV3Schema:
  4361. description: SecretStore represents a secure external location for storing secrets, which can be referenced as part of `storeRef` fields.
  4362. properties:
  4363. apiVersion:
  4364. description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  4365. type: string
  4366. kind:
  4367. description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  4368. type: string
  4369. metadata:
  4370. type: object
  4371. spec:
  4372. description: SecretStoreSpec defines the desired state of SecretStore.
  4373. properties:
  4374. controller:
  4375. description: 'Used to select the correct KES controller (think: ingress.ingressClassName) The KES controller is instantiated with a specific controller name and filters ES based on this property'
  4376. type: string
  4377. provider:
  4378. description: Used to configure the provider. Only one provider may be set
  4379. maxProperties: 1
  4380. minProperties: 1
  4381. properties:
  4382. akeyless:
  4383. description: Akeyless configures this store to sync secrets using Akeyless Vault provider
  4384. properties:
  4385. akeylessGWApiURL:
  4386. description: Akeyless GW API Url from which the secrets to be fetched from.
  4387. type: string
  4388. authSecretRef:
  4389. description: Auth configures how the operator authenticates with Akeyless.
  4390. properties:
  4391. secretRef:
  4392. description: 'AkeylessAuthSecretRef AKEYLESS_ACCESS_TYPE_PARAM: AZURE_OBJ_ID OR GCP_AUDIENCE OR ACCESS_KEY OR KUB_CONFIG_NAME.'
  4393. properties:
  4394. accessID:
  4395. description: The SecretAccessID is used for authentication
  4396. properties:
  4397. key:
  4398. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4399. type: string
  4400. name:
  4401. description: The name of the Secret resource being referred to.
  4402. type: string
  4403. namespace:
  4404. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4405. type: string
  4406. type: object
  4407. accessType:
  4408. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  4409. properties:
  4410. key:
  4411. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4412. type: string
  4413. name:
  4414. description: The name of the Secret resource being referred to.
  4415. type: string
  4416. namespace:
  4417. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4418. type: string
  4419. type: object
  4420. accessTypeParam:
  4421. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  4422. properties:
  4423. key:
  4424. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4425. type: string
  4426. name:
  4427. description: The name of the Secret resource being referred to.
  4428. type: string
  4429. namespace:
  4430. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4431. type: string
  4432. type: object
  4433. type: object
  4434. required:
  4435. - secretRef
  4436. type: object
  4437. required:
  4438. - akeylessGWApiURL
  4439. - authSecretRef
  4440. type: object
  4441. alibaba:
  4442. description: Alibaba configures this store to sync secrets using Alibaba Cloud provider
  4443. properties:
  4444. auth:
  4445. description: AlibabaAuth contains a secretRef for credentials.
  4446. properties:
  4447. secretRef:
  4448. description: AlibabaAuthSecretRef holds secret references for Alibaba credentials.
  4449. properties:
  4450. accessKeyIDSecretRef:
  4451. description: The AccessKeyID is used for authentication
  4452. properties:
  4453. key:
  4454. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4455. type: string
  4456. name:
  4457. description: The name of the Secret resource being referred to.
  4458. type: string
  4459. namespace:
  4460. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4461. type: string
  4462. type: object
  4463. accessKeySecretSecretRef:
  4464. description: The AccessKeySecret is used for authentication
  4465. properties:
  4466. key:
  4467. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4468. type: string
  4469. name:
  4470. description: The name of the Secret resource being referred to.
  4471. type: string
  4472. namespace:
  4473. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4474. type: string
  4475. type: object
  4476. required:
  4477. - accessKeyIDSecretRef
  4478. - accessKeySecretSecretRef
  4479. type: object
  4480. required:
  4481. - secretRef
  4482. type: object
  4483. endpoint:
  4484. type: string
  4485. regionID:
  4486. description: Alibaba Region to be used for the provider
  4487. type: string
  4488. required:
  4489. - auth
  4490. - regionID
  4491. type: object
  4492. aws:
  4493. description: AWS configures this store to sync secrets using AWS Secret Manager provider
  4494. properties:
  4495. auth:
  4496. description: 'Auth defines the information necessary to authenticate against AWS if not set aws sdk will infer credentials from your environment see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials'
  4497. properties:
  4498. jwt:
  4499. description: Authenticate against AWS using service account tokens.
  4500. properties:
  4501. serviceAccountRef:
  4502. description: A reference to a ServiceAccount resource.
  4503. properties:
  4504. audiences:
  4505. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  4506. items:
  4507. type: string
  4508. type: array
  4509. name:
  4510. description: The name of the ServiceAccount resource being referred to.
  4511. type: string
  4512. namespace:
  4513. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4514. type: string
  4515. required:
  4516. - name
  4517. type: object
  4518. type: object
  4519. secretRef:
  4520. description: AWSAuthSecretRef holds secret references for AWS credentials both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate.
  4521. properties:
  4522. accessKeyIDSecretRef:
  4523. description: The AccessKeyID is used for authentication
  4524. properties:
  4525. key:
  4526. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4527. type: string
  4528. name:
  4529. description: The name of the Secret resource being referred to.
  4530. type: string
  4531. namespace:
  4532. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4533. type: string
  4534. type: object
  4535. secretAccessKeySecretRef:
  4536. description: The SecretAccessKey is used for authentication
  4537. properties:
  4538. key:
  4539. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4540. type: string
  4541. name:
  4542. description: The name of the Secret resource being referred to.
  4543. type: string
  4544. namespace:
  4545. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4546. type: string
  4547. type: object
  4548. type: object
  4549. type: object
  4550. region:
  4551. description: AWS Region to be used for the provider
  4552. type: string
  4553. role:
  4554. description: Role is a Role ARN which the SecretManager provider will assume
  4555. type: string
  4556. service:
  4557. description: Service defines which service should be used to fetch the secrets
  4558. enum:
  4559. - SecretsManager
  4560. - ParameterStore
  4561. type: string
  4562. required:
  4563. - region
  4564. - service
  4565. type: object
  4566. azurekv:
  4567. description: AzureKV configures this store to sync secrets using Azure Key Vault provider
  4568. properties:
  4569. authSecretRef:
  4570. description: Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type.
  4571. properties:
  4572. clientId:
  4573. description: The Azure clientId of the service principle used for authentication.
  4574. properties:
  4575. key:
  4576. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4577. type: string
  4578. name:
  4579. description: The name of the Secret resource being referred to.
  4580. type: string
  4581. namespace:
  4582. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4583. type: string
  4584. type: object
  4585. clientSecret:
  4586. description: The Azure ClientSecret of the service principle used for authentication.
  4587. properties:
  4588. key:
  4589. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4590. type: string
  4591. name:
  4592. description: The name of the Secret resource being referred to.
  4593. type: string
  4594. namespace:
  4595. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4596. type: string
  4597. type: object
  4598. type: object
  4599. authType:
  4600. default: ServicePrincipal
  4601. description: 'Auth type defines how to authenticate to the keyvault service. Valid values are: - "ServicePrincipal" (default): Using a service principal (tenantId, clientId, clientSecret) - "ManagedIdentity": Using Managed Identity assigned to the pod (see aad-pod-identity)'
  4602. enum:
  4603. - ServicePrincipal
  4604. - ManagedIdentity
  4605. - WorkloadIdentity
  4606. type: string
  4607. environmentType:
  4608. default: PublicCloud
  4609. description: 'EnvironmentType specifies the Azure cloud environment endpoints to use for connecting and authenticating with Azure. By default it points to the public cloud AAD endpoint. The following endpoints are available, also see here: https://github.com/Azure/go-autorest/blob/main/autorest/azure/environments.go#L152 PublicCloud, USGovernmentCloud, ChinaCloud, GermanCloud'
  4610. enum:
  4611. - PublicCloud
  4612. - USGovernmentCloud
  4613. - ChinaCloud
  4614. - GermanCloud
  4615. type: string
  4616. identityId:
  4617. description: If multiple Managed Identity is assigned to the pod, you can select the one to be used
  4618. type: string
  4619. serviceAccountRef:
  4620. description: ServiceAccountRef specified the service account that should be used when authenticating with WorkloadIdentity.
  4621. properties:
  4622. audiences:
  4623. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  4624. items:
  4625. type: string
  4626. type: array
  4627. name:
  4628. description: The name of the ServiceAccount resource being referred to.
  4629. type: string
  4630. namespace:
  4631. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4632. type: string
  4633. required:
  4634. - name
  4635. type: object
  4636. tenantId:
  4637. description: TenantID configures the Azure Tenant to send requests to. Required for ServicePrincipal auth type.
  4638. type: string
  4639. vaultUrl:
  4640. description: Vault Url from which the secrets to be fetched from.
  4641. type: string
  4642. required:
  4643. - vaultUrl
  4644. type: object
  4645. fake:
  4646. description: Fake configures a store with static key/value pairs
  4647. properties:
  4648. data:
  4649. items:
  4650. properties:
  4651. key:
  4652. type: string
  4653. value:
  4654. type: string
  4655. valueMap:
  4656. additionalProperties:
  4657. type: string
  4658. type: object
  4659. version:
  4660. type: string
  4661. required:
  4662. - key
  4663. type: object
  4664. type: array
  4665. required:
  4666. - data
  4667. type: object
  4668. gcpsm:
  4669. description: GCPSM configures this store to sync secrets using Google Cloud Platform Secret Manager provider
  4670. properties:
  4671. auth:
  4672. description: Auth defines the information necessary to authenticate against GCP
  4673. properties:
  4674. secretRef:
  4675. properties:
  4676. secretAccessKeySecretRef:
  4677. description: The SecretAccessKey is used for authentication
  4678. properties:
  4679. key:
  4680. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4681. type: string
  4682. name:
  4683. description: The name of the Secret resource being referred to.
  4684. type: string
  4685. namespace:
  4686. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4687. type: string
  4688. type: object
  4689. type: object
  4690. workloadIdentity:
  4691. properties:
  4692. clusterLocation:
  4693. type: string
  4694. clusterName:
  4695. type: string
  4696. clusterProjectID:
  4697. type: string
  4698. serviceAccountRef:
  4699. description: A reference to a ServiceAccount resource.
  4700. properties:
  4701. audiences:
  4702. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  4703. items:
  4704. type: string
  4705. type: array
  4706. name:
  4707. description: The name of the ServiceAccount resource being referred to.
  4708. type: string
  4709. namespace:
  4710. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4711. type: string
  4712. required:
  4713. - name
  4714. type: object
  4715. required:
  4716. - clusterLocation
  4717. - clusterName
  4718. - serviceAccountRef
  4719. type: object
  4720. type: object
  4721. projectID:
  4722. description: ProjectID project where secret is located
  4723. type: string
  4724. type: object
  4725. gitlab:
  4726. description: Gitlab configures this store to sync secrets using Gitlab Variables provider
  4727. properties:
  4728. auth:
  4729. description: Auth configures how secret-manager authenticates with a GitLab instance.
  4730. properties:
  4731. SecretRef:
  4732. properties:
  4733. accessToken:
  4734. description: AccessToken is used for authentication.
  4735. properties:
  4736. key:
  4737. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4738. type: string
  4739. name:
  4740. description: The name of the Secret resource being referred to.
  4741. type: string
  4742. namespace:
  4743. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4744. type: string
  4745. type: object
  4746. type: object
  4747. required:
  4748. - SecretRef
  4749. type: object
  4750. projectID:
  4751. description: ProjectID specifies a project where secrets are located.
  4752. type: string
  4753. url:
  4754. description: URL configures the GitLab instance URL. Defaults to https://gitlab.com/.
  4755. type: string
  4756. required:
  4757. - auth
  4758. type: object
  4759. ibm:
  4760. description: IBM configures this store to sync secrets using IBM Cloud provider
  4761. properties:
  4762. auth:
  4763. description: Auth configures how secret-manager authenticates with the IBM secrets manager.
  4764. maxProperties: 1
  4765. minProperties: 1
  4766. properties:
  4767. containerAuth:
  4768. description: IBM Container-based auth with IAM Trusted Profile.
  4769. properties:
  4770. iamEndpoint:
  4771. type: string
  4772. profile:
  4773. description: the IBM Trusted Profile
  4774. type: string
  4775. tokenLocation:
  4776. description: Location the token is mounted on the pod
  4777. type: string
  4778. required:
  4779. - profile
  4780. type: object
  4781. secretRef:
  4782. properties:
  4783. secretApiKeySecretRef:
  4784. description: The SecretAccessKey is used for authentication
  4785. properties:
  4786. key:
  4787. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4788. type: string
  4789. name:
  4790. description: The name of the Secret resource being referred to.
  4791. type: string
  4792. namespace:
  4793. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4794. type: string
  4795. type: object
  4796. type: object
  4797. type: object
  4798. serviceUrl:
  4799. description: ServiceURL is the Endpoint URL that is specific to the Secrets Manager service instance
  4800. type: string
  4801. required:
  4802. - auth
  4803. type: object
  4804. kubernetes:
  4805. description: Kubernetes configures this store to sync secrets using a Kubernetes cluster provider
  4806. properties:
  4807. auth:
  4808. description: Auth configures how secret-manager authenticates with a Kubernetes instance.
  4809. maxProperties: 1
  4810. minProperties: 1
  4811. properties:
  4812. cert:
  4813. description: has both clientCert and clientKey as secretKeySelector
  4814. properties:
  4815. clientCert:
  4816. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  4817. properties:
  4818. key:
  4819. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4820. type: string
  4821. name:
  4822. description: The name of the Secret resource being referred to.
  4823. type: string
  4824. namespace:
  4825. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4826. type: string
  4827. type: object
  4828. clientKey:
  4829. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  4830. properties:
  4831. key:
  4832. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4833. type: string
  4834. name:
  4835. description: The name of the Secret resource being referred to.
  4836. type: string
  4837. namespace:
  4838. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4839. type: string
  4840. type: object
  4841. type: object
  4842. serviceAccount:
  4843. description: points to a service account that should be used for authentication
  4844. properties:
  4845. audiences:
  4846. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  4847. items:
  4848. type: string
  4849. type: array
  4850. name:
  4851. description: The name of the ServiceAccount resource being referred to.
  4852. type: string
  4853. namespace:
  4854. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4855. type: string
  4856. required:
  4857. - name
  4858. type: object
  4859. token:
  4860. description: use static token to authenticate with
  4861. properties:
  4862. bearerToken:
  4863. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  4864. properties:
  4865. key:
  4866. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4867. type: string
  4868. name:
  4869. description: The name of the Secret resource being referred to.
  4870. type: string
  4871. namespace:
  4872. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4873. type: string
  4874. type: object
  4875. type: object
  4876. type: object
  4877. remoteNamespace:
  4878. default: default
  4879. description: Remote namespace to fetch the secrets from
  4880. type: string
  4881. server:
  4882. description: configures the Kubernetes server Address.
  4883. properties:
  4884. caBundle:
  4885. description: CABundle is a base64-encoded CA certificate
  4886. format: byte
  4887. type: string
  4888. caProvider:
  4889. description: 'see: https://external-secrets.io/v0.4.1/spec/#external-secrets.io/v1alpha1.CAProvider'
  4890. properties:
  4891. key:
  4892. description: The key where the CA certificate can be found in the Secret or ConfigMap.
  4893. type: string
  4894. name:
  4895. description: The name of the object located at the provider type.
  4896. type: string
  4897. namespace:
  4898. description: The namespace the Provider type is in. Can only be defined when used in a ClusterSecretStore.
  4899. type: string
  4900. type:
  4901. description: The type of provider to use such as "Secret", or "ConfigMap".
  4902. enum:
  4903. - Secret
  4904. - ConfigMap
  4905. type: string
  4906. required:
  4907. - name
  4908. - type
  4909. type: object
  4910. url:
  4911. default: kubernetes.default
  4912. description: configures the Kubernetes server Address.
  4913. type: string
  4914. type: object
  4915. required:
  4916. - auth
  4917. type: object
  4918. onepassword:
  4919. description: OnePassword configures this store to sync secrets using the 1Password Cloud provider
  4920. properties:
  4921. auth:
  4922. description: Auth defines the information necessary to authenticate against OnePassword Connect Server
  4923. properties:
  4924. secretRef:
  4925. description: OnePasswordAuthSecretRef holds secret references for 1Password credentials.
  4926. properties:
  4927. connectTokenSecretRef:
  4928. description: The ConnectToken is used for authentication to a 1Password Connect Server.
  4929. properties:
  4930. key:
  4931. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4932. type: string
  4933. name:
  4934. description: The name of the Secret resource being referred to.
  4935. type: string
  4936. namespace:
  4937. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4938. type: string
  4939. type: object
  4940. required:
  4941. - connectTokenSecretRef
  4942. type: object
  4943. required:
  4944. - secretRef
  4945. type: object
  4946. connectHost:
  4947. description: ConnectHost defines the OnePassword Connect Server to connect to
  4948. type: string
  4949. vaults:
  4950. additionalProperties:
  4951. type: integer
  4952. description: Vaults defines which OnePassword vaults to search in which order
  4953. type: object
  4954. required:
  4955. - auth
  4956. - connectHost
  4957. - vaults
  4958. type: object
  4959. oracle:
  4960. description: Oracle configures this store to sync secrets using Oracle Vault provider
  4961. properties:
  4962. auth:
  4963. description: Auth configures how secret-manager authenticates with the Oracle Vault. If empty, use the instance principal, otherwise the user credentials specified in Auth.
  4964. properties:
  4965. secretRef:
  4966. description: SecretRef to pass through sensitive information.
  4967. properties:
  4968. fingerprint:
  4969. description: Fingerprint is the fingerprint of the API private key.
  4970. properties:
  4971. key:
  4972. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4973. type: string
  4974. name:
  4975. description: The name of the Secret resource being referred to.
  4976. type: string
  4977. namespace:
  4978. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4979. type: string
  4980. type: object
  4981. privatekey:
  4982. description: PrivateKey is the user's API Signing Key in PEM format, used for authentication.
  4983. properties:
  4984. key:
  4985. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  4986. type: string
  4987. name:
  4988. description: The name of the Secret resource being referred to.
  4989. type: string
  4990. namespace:
  4991. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  4992. type: string
  4993. type: object
  4994. required:
  4995. - fingerprint
  4996. - privatekey
  4997. type: object
  4998. tenancy:
  4999. description: Tenancy is the tenancy OCID where user is located.
  5000. type: string
  5001. user:
  5002. description: User is an access OCID specific to the account.
  5003. type: string
  5004. required:
  5005. - secretRef
  5006. - tenancy
  5007. - user
  5008. type: object
  5009. region:
  5010. description: Region is the region where vault is located.
  5011. type: string
  5012. vault:
  5013. description: Vault is the vault's OCID of the specific vault where secret is located.
  5014. type: string
  5015. required:
  5016. - region
  5017. - vault
  5018. type: object
  5019. senhasegura:
  5020. description: Senhasegura configures this store to sync secrets using senhasegura provider
  5021. properties:
  5022. auth:
  5023. description: Auth defines parameters to authenticate in senhasegura
  5024. properties:
  5025. clientId:
  5026. type: string
  5027. clientSecretSecretRef:
  5028. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  5029. properties:
  5030. key:
  5031. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5032. type: string
  5033. name:
  5034. description: The name of the Secret resource being referred to.
  5035. type: string
  5036. namespace:
  5037. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5038. type: string
  5039. type: object
  5040. required:
  5041. - clientId
  5042. - clientSecretSecretRef
  5043. type: object
  5044. ignoreSslCertificate:
  5045. default: false
  5046. description: IgnoreSslCertificate defines if SSL certificate must be ignored
  5047. type: boolean
  5048. module:
  5049. description: Module defines which senhasegura module should be used to get secrets
  5050. type: string
  5051. url:
  5052. description: URL of senhasegura
  5053. type: string
  5054. required:
  5055. - auth
  5056. - module
  5057. - url
  5058. type: object
  5059. vault:
  5060. description: Vault configures this store to sync secrets using Hashi provider
  5061. properties:
  5062. auth:
  5063. description: Auth configures how secret-manager authenticates with the Vault server.
  5064. properties:
  5065. appRole:
  5066. description: AppRole authenticates with Vault using the App Role auth mechanism, with the role and secret stored in a Kubernetes Secret resource.
  5067. properties:
  5068. path:
  5069. default: approle
  5070. description: 'Path where the App Role authentication backend is mounted in Vault, e.g: "approle"'
  5071. type: string
  5072. roleId:
  5073. description: RoleID configured in the App Role authentication backend when setting up the authentication backend in Vault.
  5074. type: string
  5075. secretRef:
  5076. description: Reference to a key in a Secret that contains the App Role secret used to authenticate with Vault. The `key` field must be specified and denotes which entry within the Secret resource is used as the app role secret.
  5077. properties:
  5078. key:
  5079. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5080. type: string
  5081. name:
  5082. description: The name of the Secret resource being referred to.
  5083. type: string
  5084. namespace:
  5085. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5086. type: string
  5087. type: object
  5088. required:
  5089. - path
  5090. - roleId
  5091. - secretRef
  5092. type: object
  5093. cert:
  5094. description: Cert authenticates with TLS Certificates by passing client certificate, private key and ca certificate Cert authentication method
  5095. properties:
  5096. clientCert:
  5097. description: ClientCert is a certificate to authenticate using the Cert Vault authentication method
  5098. properties:
  5099. key:
  5100. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5101. type: string
  5102. name:
  5103. description: The name of the Secret resource being referred to.
  5104. type: string
  5105. namespace:
  5106. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5107. type: string
  5108. type: object
  5109. secretRef:
  5110. description: SecretRef to a key in a Secret resource containing client private key to authenticate with Vault using the Cert authentication method
  5111. properties:
  5112. key:
  5113. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5114. type: string
  5115. name:
  5116. description: The name of the Secret resource being referred to.
  5117. type: string
  5118. namespace:
  5119. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5120. type: string
  5121. type: object
  5122. type: object
  5123. jwt:
  5124. description: Jwt authenticates with Vault by passing role and JWT token using the JWT/OIDC authentication method
  5125. properties:
  5126. kubernetesServiceAccountToken:
  5127. description: Optional ServiceAccountToken specifies the Kubernetes service account for which to request a token for with the `TokenRequest` API.
  5128. properties:
  5129. audiences:
  5130. description: 'Optional audiences field that will be used to request a temporary Kubernetes service account token for the service account referenced by `serviceAccountRef`. Defaults to a single audience `vault` it not specified. Deprecated: use serviceAccountRef.Audiences instead'
  5131. items:
  5132. type: string
  5133. type: array
  5134. expirationSeconds:
  5135. description: 'Optional expiration time in seconds that will be used to request a temporary Kubernetes service account token for the service account referenced by `serviceAccountRef`. Deprecated: this will be removed in the future. Defaults to 10 minutes.'
  5136. format: int64
  5137. type: integer
  5138. serviceAccountRef:
  5139. description: Service account field containing the name of a kubernetes ServiceAccount.
  5140. properties:
  5141. audiences:
  5142. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  5143. items:
  5144. type: string
  5145. type: array
  5146. name:
  5147. description: The name of the ServiceAccount resource being referred to.
  5148. type: string
  5149. namespace:
  5150. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5151. type: string
  5152. required:
  5153. - name
  5154. type: object
  5155. required:
  5156. - serviceAccountRef
  5157. type: object
  5158. path:
  5159. default: jwt
  5160. description: 'Path where the JWT authentication backend is mounted in Vault, e.g: "jwt"'
  5161. type: string
  5162. role:
  5163. description: Role is a JWT role to authenticate using the JWT/OIDC Vault authentication method
  5164. type: string
  5165. secretRef:
  5166. description: Optional SecretRef that refers to a key in a Secret resource containing JWT token to authenticate with Vault using the JWT/OIDC authentication method.
  5167. properties:
  5168. key:
  5169. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5170. type: string
  5171. name:
  5172. description: The name of the Secret resource being referred to.
  5173. type: string
  5174. namespace:
  5175. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5176. type: string
  5177. type: object
  5178. required:
  5179. - path
  5180. type: object
  5181. kubernetes:
  5182. description: Kubernetes authenticates with Vault by passing the ServiceAccount token stored in the named Secret resource to the Vault server.
  5183. properties:
  5184. mountPath:
  5185. default: kubernetes
  5186. description: 'Path where the Kubernetes authentication backend is mounted in Vault, e.g: "kubernetes"'
  5187. type: string
  5188. role:
  5189. description: A required field containing the Vault Role to assume. A Role binds a Kubernetes ServiceAccount with a set of Vault policies.
  5190. type: string
  5191. secretRef:
  5192. description: Optional secret field containing a Kubernetes ServiceAccount JWT used for authenticating with Vault. If a name is specified without a key, `token` is the default. If one is not specified, the one bound to the controller will be used.
  5193. properties:
  5194. key:
  5195. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5196. type: string
  5197. name:
  5198. description: The name of the Secret resource being referred to.
  5199. type: string
  5200. namespace:
  5201. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5202. type: string
  5203. type: object
  5204. serviceAccountRef:
  5205. description: Optional service account field containing the name of a kubernetes ServiceAccount. If the service account is specified, the service account secret token JWT will be used for authenticating with Vault. If the service account selector is not supplied, the secretRef will be used instead.
  5206. properties:
  5207. audiences:
  5208. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  5209. items:
  5210. type: string
  5211. type: array
  5212. name:
  5213. description: The name of the ServiceAccount resource being referred to.
  5214. type: string
  5215. namespace:
  5216. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5217. type: string
  5218. required:
  5219. - name
  5220. type: object
  5221. required:
  5222. - mountPath
  5223. - role
  5224. type: object
  5225. ldap:
  5226. description: Ldap authenticates with Vault by passing username/password pair using the LDAP authentication method
  5227. properties:
  5228. path:
  5229. default: ldap
  5230. description: 'Path where the LDAP authentication backend is mounted in Vault, e.g: "ldap"'
  5231. type: string
  5232. secretRef:
  5233. description: SecretRef to a key in a Secret resource containing password for the LDAP user used to authenticate with Vault using the LDAP authentication method
  5234. properties:
  5235. key:
  5236. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5237. type: string
  5238. name:
  5239. description: The name of the Secret resource being referred to.
  5240. type: string
  5241. namespace:
  5242. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5243. type: string
  5244. type: object
  5245. username:
  5246. description: Username is a LDAP user name used to authenticate using the LDAP Vault authentication method
  5247. type: string
  5248. required:
  5249. - path
  5250. - username
  5251. type: object
  5252. tokenSecretRef:
  5253. description: TokenSecretRef authenticates with Vault by presenting a token.
  5254. properties:
  5255. key:
  5256. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5257. type: string
  5258. name:
  5259. description: The name of the Secret resource being referred to.
  5260. type: string
  5261. namespace:
  5262. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5263. type: string
  5264. type: object
  5265. type: object
  5266. caBundle:
  5267. description: PEM encoded CA bundle used to validate Vault server certificate. Only used if the Server URL is using HTTPS protocol. This parameter is ignored for plain HTTP protocol connection. If not set the system root certificates are used to validate the TLS connection.
  5268. format: byte
  5269. type: string
  5270. caProvider:
  5271. description: The provider for the CA bundle to use to validate Vault server certificate.
  5272. properties:
  5273. key:
  5274. description: The key where the CA certificate can be found in the Secret or ConfigMap.
  5275. type: string
  5276. name:
  5277. description: The name of the object located at the provider type.
  5278. type: string
  5279. namespace:
  5280. description: The namespace the Provider type is in. Can only be defined when used in a ClusterSecretStore.
  5281. type: string
  5282. type:
  5283. description: The type of provider to use such as "Secret", or "ConfigMap".
  5284. enum:
  5285. - Secret
  5286. - ConfigMap
  5287. type: string
  5288. required:
  5289. - name
  5290. - type
  5291. type: object
  5292. forwardInconsistent:
  5293. description: ForwardInconsistent tells Vault to forward read-after-write requests to the Vault leader instead of simply retrying within a loop. This can increase performance if the option is enabled serverside. https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header
  5294. type: boolean
  5295. namespace:
  5296. description: 'Name of the vault namespace. Namespaces is a set of features within Vault Enterprise that allows Vault environments to support Secure Multi-tenancy. e.g: "ns1". More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces'
  5297. type: string
  5298. path:
  5299. description: 'Path is the mount path of the Vault KV backend endpoint, e.g: "secret". The v2 KV secret engine version specific "/data" path suffix for fetching secrets from Vault is optional and will be appended if not present in specified path.'
  5300. type: string
  5301. readYourWrites:
  5302. description: ReadYourWrites ensures isolated read-after-write semantics by providing discovered cluster replication states in each request. More information about eventual consistency in Vault can be found here https://www.vaultproject.io/docs/enterprise/consistency
  5303. type: boolean
  5304. server:
  5305. description: 'Server is the connection address for the Vault server, e.g: "https://vault.example.com:8200".'
  5306. type: string
  5307. version:
  5308. default: v2
  5309. description: Version is the Vault KV secret engine version. This can be either "v1" or "v2". Version defaults to "v2".
  5310. enum:
  5311. - v1
  5312. - v2
  5313. type: string
  5314. required:
  5315. - auth
  5316. - server
  5317. type: object
  5318. webhook:
  5319. description: Webhook configures this store to sync secrets using a generic templated webhook
  5320. properties:
  5321. body:
  5322. description: Body
  5323. type: string
  5324. caBundle:
  5325. description: PEM encoded CA bundle used to validate webhook server certificate. Only used if the Server URL is using HTTPS protocol. This parameter is ignored for plain HTTP protocol connection. If not set the system root certificates are used to validate the TLS connection.
  5326. format: byte
  5327. type: string
  5328. caProvider:
  5329. description: The provider for the CA bundle to use to validate webhook server certificate.
  5330. properties:
  5331. key:
  5332. description: The key the value inside of the provider type to use, only used with "Secret" type
  5333. type: string
  5334. name:
  5335. description: The name of the object located at the provider type.
  5336. type: string
  5337. namespace:
  5338. description: The namespace the Provider type is in.
  5339. type: string
  5340. type:
  5341. description: The type of provider to use such as "Secret", or "ConfigMap".
  5342. enum:
  5343. - Secret
  5344. - ConfigMap
  5345. type: string
  5346. required:
  5347. - name
  5348. - type
  5349. type: object
  5350. headers:
  5351. additionalProperties:
  5352. type: string
  5353. description: Headers
  5354. type: object
  5355. method:
  5356. description: Webhook Method
  5357. type: string
  5358. result:
  5359. description: Result formatting
  5360. properties:
  5361. jsonPath:
  5362. description: Json path of return value
  5363. type: string
  5364. type: object
  5365. secrets:
  5366. description: Secrets to fill in templates These secrets will be passed to the templating function as key value pairs under the given name
  5367. items:
  5368. properties:
  5369. name:
  5370. description: Name of this secret in templates
  5371. type: string
  5372. secretRef:
  5373. description: Secret ref to fill in credentials
  5374. properties:
  5375. key:
  5376. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5377. type: string
  5378. name:
  5379. description: The name of the Secret resource being referred to.
  5380. type: string
  5381. namespace:
  5382. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5383. type: string
  5384. type: object
  5385. required:
  5386. - name
  5387. - secretRef
  5388. type: object
  5389. type: array
  5390. timeout:
  5391. description: Timeout
  5392. type: string
  5393. url:
  5394. description: Webhook url to call
  5395. type: string
  5396. required:
  5397. - result
  5398. - url
  5399. type: object
  5400. yandexcertificatemanager:
  5401. description: YandexCertificateManager configures this store to sync secrets using Yandex Certificate Manager provider
  5402. properties:
  5403. apiEndpoint:
  5404. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  5405. type: string
  5406. auth:
  5407. description: Auth defines the information necessary to authenticate against Yandex Certificate Manager
  5408. properties:
  5409. authorizedKeySecretRef:
  5410. description: The authorized key used for authentication
  5411. properties:
  5412. key:
  5413. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5414. type: string
  5415. name:
  5416. description: The name of the Secret resource being referred to.
  5417. type: string
  5418. namespace:
  5419. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5420. type: string
  5421. type: object
  5422. type: object
  5423. caProvider:
  5424. description: The provider for the CA bundle to use to validate Yandex.Cloud server certificate.
  5425. properties:
  5426. certSecretRef:
  5427. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  5428. properties:
  5429. key:
  5430. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5431. type: string
  5432. name:
  5433. description: The name of the Secret resource being referred to.
  5434. type: string
  5435. namespace:
  5436. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5437. type: string
  5438. type: object
  5439. type: object
  5440. required:
  5441. - auth
  5442. type: object
  5443. yandexlockbox:
  5444. description: YandexLockbox configures this store to sync secrets using Yandex Lockbox provider
  5445. properties:
  5446. apiEndpoint:
  5447. description: Yandex.Cloud API endpoint (e.g. 'api.cloud.yandex.net:443')
  5448. type: string
  5449. auth:
  5450. description: Auth defines the information necessary to authenticate against Yandex Lockbox
  5451. properties:
  5452. authorizedKeySecretRef:
  5453. description: The authorized key used for authentication
  5454. properties:
  5455. key:
  5456. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5457. type: string
  5458. name:
  5459. description: The name of the Secret resource being referred to.
  5460. type: string
  5461. namespace:
  5462. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5463. type: string
  5464. type: object
  5465. type: object
  5466. caProvider:
  5467. description: The provider for the CA bundle to use to validate Yandex.Cloud server certificate.
  5468. properties:
  5469. certSecretRef:
  5470. description: A reference to a specific 'key' within a Secret resource, In some instances, `key` is a required field.
  5471. properties:
  5472. key:
  5473. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5474. type: string
  5475. name:
  5476. description: The name of the Secret resource being referred to.
  5477. type: string
  5478. namespace:
  5479. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5480. type: string
  5481. type: object
  5482. type: object
  5483. required:
  5484. - auth
  5485. type: object
  5486. type: object
  5487. refreshInterval:
  5488. description: Used to configure store refresh interval in seconds. Empty or 0 will default to the controller config.
  5489. type: integer
  5490. retrySettings:
  5491. description: Used to configure http retries if failed
  5492. properties:
  5493. maxRetries:
  5494. format: int32
  5495. type: integer
  5496. retryInterval:
  5497. type: string
  5498. type: object
  5499. required:
  5500. - provider
  5501. type: object
  5502. status:
  5503. description: SecretStoreStatus defines the observed state of the SecretStore.
  5504. properties:
  5505. conditions:
  5506. items:
  5507. properties:
  5508. lastTransitionTime:
  5509. format: date-time
  5510. type: string
  5511. message:
  5512. type: string
  5513. reason:
  5514. type: string
  5515. status:
  5516. type: string
  5517. type:
  5518. type: string
  5519. required:
  5520. - status
  5521. - type
  5522. type: object
  5523. type: array
  5524. type: object
  5525. type: object
  5526. served: true
  5527. storage: true
  5528. subresources:
  5529. status: {}
  5530. conversion:
  5531. strategy: Webhook
  5532. webhook:
  5533. conversionReviewVersions:
  5534. - v1
  5535. clientConfig:
  5536. service:
  5537. name: kubernetes
  5538. namespace: default
  5539. path: /convert
  5540. ---
  5541. apiVersion: apiextensions.k8s.io/v1
  5542. kind: CustomResourceDefinition
  5543. metadata:
  5544. annotations:
  5545. controller-gen.kubebuilder.io/version: v0.9.2
  5546. creationTimestamp: null
  5547. name: acraccesstokens.generators.external-secrets.io
  5548. spec:
  5549. group: generators.external-secrets.io
  5550. names:
  5551. categories:
  5552. - acraccesstoken
  5553. kind: ACRAccessToken
  5554. listKind: ACRAccessTokenList
  5555. plural: acraccesstokens
  5556. shortNames:
  5557. - acraccesstoken
  5558. singular: acraccesstoken
  5559. scope: Namespaced
  5560. versions:
  5561. - name: v1alpha1
  5562. schema:
  5563. openAPIV3Schema:
  5564. description: "ACRAccessToken returns a Azure Container Registry token that can be used for pushing/pulling images. Note: by default it will return an ACR Refresh Token with full access (depending on the identity). This can be scoped down to the repository level using .spec.scope. In case scope is defined it will return an ACR Access Token. \n See docs: https://github.com/Azure/acr/blob/main/docs/AAD-OAuth.md"
  5565. properties:
  5566. apiVersion:
  5567. description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  5568. type: string
  5569. kind:
  5570. description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  5571. type: string
  5572. metadata:
  5573. type: object
  5574. spec:
  5575. description: 'ACRAccessTokenSpec see: https://github.com/Azure/acr/blob/main/docs/AAD-OAuth.md#overview'
  5576. properties:
  5577. auth:
  5578. properties:
  5579. managedIdentity:
  5580. description: ManagedIdentity uses Azure Managed Identity to authenticate with Azure.
  5581. properties:
  5582. identityId:
  5583. description: If multiple Managed Identity is assigned to the pod, you can select the one to be used
  5584. type: string
  5585. type: object
  5586. servicePrincipal:
  5587. description: ServicePrincipal uses Azure Service Principal credentials to authenticate with Azure.
  5588. properties:
  5589. secretRef:
  5590. description: Configuration used to authenticate with Azure using static credentials stored in a Kind=Secret
  5591. properties:
  5592. clientId:
  5593. description: The Azure clientId of the service principle used for authentication.
  5594. properties:
  5595. key:
  5596. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5597. type: string
  5598. name:
  5599. description: The name of the Secret resource being referred to.
  5600. type: string
  5601. namespace:
  5602. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5603. type: string
  5604. type: object
  5605. clientSecret:
  5606. description: The Azure ClientSecret of the service principle used for authentication.
  5607. properties:
  5608. key:
  5609. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5610. type: string
  5611. name:
  5612. description: The name of the Secret resource being referred to.
  5613. type: string
  5614. namespace:
  5615. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5616. type: string
  5617. type: object
  5618. type: object
  5619. required:
  5620. - secretRef
  5621. type: object
  5622. workloadIdentity:
  5623. description: WorkloadIdentity uses Azure Workload Identity to authenticate with Azure.
  5624. properties:
  5625. serviceAccountRef:
  5626. description: ServiceAccountRef specified the service account that should be used when authenticating with WorkloadIdentity.
  5627. properties:
  5628. audiences:
  5629. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  5630. items:
  5631. type: string
  5632. type: array
  5633. name:
  5634. description: The name of the ServiceAccount resource being referred to.
  5635. type: string
  5636. namespace:
  5637. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5638. type: string
  5639. required:
  5640. - name
  5641. type: object
  5642. type: object
  5643. type: object
  5644. environmentType:
  5645. default: PublicCloud
  5646. description: 'EnvironmentType specifies the Azure cloud environment endpoints to use for connecting and authenticating with Azure. By default it points to the public cloud AAD endpoint. The following endpoints are available, also see here: https://github.com/Azure/go-autorest/blob/main/autorest/azure/environments.go#L152 PublicCloud, USGovernmentCloud, ChinaCloud, GermanCloud'
  5647. enum:
  5648. - PublicCloud
  5649. - USGovernmentCloud
  5650. - ChinaCloud
  5651. - GermanCloud
  5652. type: string
  5653. registry:
  5654. description: the domain name of the ACR registry e.g. foobarexample.azurecr.io
  5655. type: string
  5656. scope:
  5657. description: "Define the scope for the access token, e.g. pull/push access for a repository. if not provided it will return a refresh token that has full scope. Note: you need to pin it down to the repository level, there is no wildcard available. \n examples: repository:my-repository:pull,push repository:my-repository:pull \n see docs for details: https://docs.docker.com/registry/spec/auth/scope/"
  5658. type: string
  5659. tenantId:
  5660. description: TenantID configures the Azure Tenant to send requests to. Required for ServicePrincipal auth type.
  5661. type: string
  5662. required:
  5663. - auth
  5664. - registry
  5665. type: object
  5666. type: object
  5667. served: true
  5668. storage: true
  5669. subresources:
  5670. status: {}
  5671. conversion:
  5672. strategy: Webhook
  5673. webhook:
  5674. conversionReviewVersions:
  5675. - v1
  5676. clientConfig:
  5677. service:
  5678. name: kubernetes
  5679. namespace: default
  5680. path: /convert
  5681. ---
  5682. apiVersion: apiextensions.k8s.io/v1
  5683. kind: CustomResourceDefinition
  5684. metadata:
  5685. annotations:
  5686. controller-gen.kubebuilder.io/version: v0.9.2
  5687. creationTimestamp: null
  5688. name: ecrauthorizationtokens.generators.external-secrets.io
  5689. spec:
  5690. group: generators.external-secrets.io
  5691. names:
  5692. categories:
  5693. - ecrauthorizationtoken
  5694. kind: ECRAuthorizationToken
  5695. listKind: ECRAuthorizationTokenList
  5696. plural: ecrauthorizationtokens
  5697. shortNames:
  5698. - ecrauthorizationtoken
  5699. singular: ecrauthorizationtoken
  5700. scope: Namespaced
  5701. versions:
  5702. - name: v1alpha1
  5703. schema:
  5704. openAPIV3Schema:
  5705. properties:
  5706. apiVersion:
  5707. description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  5708. type: string
  5709. kind:
  5710. description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  5711. type: string
  5712. metadata:
  5713. type: object
  5714. spec:
  5715. description: ECRAuthorizationTokenSpec uses the GetAuthorizationToken API to retrieve an authorization token. The authorization token is valid for 12 hours. The authorizationToken returned is a base64 encoded string that can be decoded and used in a docker login command to authenticate to a registry. For more information, see Registry authentication (https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth) in the Amazon Elastic Container Registry User Guide.
  5716. properties:
  5717. auth:
  5718. description: AWSAuth tells the controller how to do authentication with aws. Only one of secretRef or jwt can be specified. if none is specified the controller will load credentials using the aws sdk defaults.
  5719. properties:
  5720. jwt:
  5721. description: Authenticate against AWS using service account tokens.
  5722. properties:
  5723. serviceAccountRef:
  5724. description: A reference to a ServiceAccount resource.
  5725. properties:
  5726. audiences:
  5727. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  5728. items:
  5729. type: string
  5730. type: array
  5731. name:
  5732. description: The name of the ServiceAccount resource being referred to.
  5733. type: string
  5734. namespace:
  5735. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5736. type: string
  5737. required:
  5738. - name
  5739. type: object
  5740. type: object
  5741. secretRef:
  5742. description: AWSAuthSecretRef holds secret references for AWS credentials both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate.
  5743. properties:
  5744. accessKeyIDSecretRef:
  5745. description: The AccessKeyID is used for authentication
  5746. properties:
  5747. key:
  5748. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5749. type: string
  5750. name:
  5751. description: The name of the Secret resource being referred to.
  5752. type: string
  5753. namespace:
  5754. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5755. type: string
  5756. type: object
  5757. secretAccessKeySecretRef:
  5758. description: The SecretAccessKey is used for authentication
  5759. properties:
  5760. key:
  5761. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5762. type: string
  5763. name:
  5764. description: The name of the Secret resource being referred to.
  5765. type: string
  5766. namespace:
  5767. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5768. type: string
  5769. type: object
  5770. type: object
  5771. type: object
  5772. region:
  5773. type: string
  5774. role:
  5775. type: string
  5776. required:
  5777. - region
  5778. type: object
  5779. type: object
  5780. served: true
  5781. storage: true
  5782. subresources:
  5783. status: {}
  5784. conversion:
  5785. strategy: Webhook
  5786. webhook:
  5787. conversionReviewVersions:
  5788. - v1
  5789. clientConfig:
  5790. service:
  5791. name: kubernetes
  5792. namespace: default
  5793. path: /convert
  5794. ---
  5795. apiVersion: apiextensions.k8s.io/v1
  5796. kind: CustomResourceDefinition
  5797. metadata:
  5798. annotations:
  5799. controller-gen.kubebuilder.io/version: v0.9.2
  5800. creationTimestamp: null
  5801. name: fakes.generators.external-secrets.io
  5802. spec:
  5803. group: generators.external-secrets.io
  5804. names:
  5805. categories:
  5806. - fake
  5807. kind: Fake
  5808. listKind: FakeList
  5809. plural: fakes
  5810. shortNames:
  5811. - fake
  5812. singular: fake
  5813. scope: Namespaced
  5814. versions:
  5815. - name: v1alpha1
  5816. schema:
  5817. openAPIV3Schema:
  5818. properties:
  5819. apiVersion:
  5820. description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  5821. type: string
  5822. kind:
  5823. description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  5824. type: string
  5825. metadata:
  5826. type: object
  5827. spec:
  5828. description: FakeSpec
  5829. properties:
  5830. data:
  5831. additionalProperties:
  5832. type: string
  5833. type: object
  5834. type: object
  5835. type: object
  5836. served: true
  5837. storage: true
  5838. subresources:
  5839. status: {}
  5840. conversion:
  5841. strategy: Webhook
  5842. webhook:
  5843. conversionReviewVersions:
  5844. - v1
  5845. clientConfig:
  5846. service:
  5847. name: kubernetes
  5848. namespace: default
  5849. path: /convert
  5850. ---
  5851. apiVersion: apiextensions.k8s.io/v1
  5852. kind: CustomResourceDefinition
  5853. metadata:
  5854. annotations:
  5855. controller-gen.kubebuilder.io/version: v0.9.2
  5856. creationTimestamp: null
  5857. name: gcraccesstokens.generators.external-secrets.io
  5858. spec:
  5859. group: generators.external-secrets.io
  5860. names:
  5861. categories:
  5862. - gcraccesstoken
  5863. kind: GCRAccessToken
  5864. listKind: GCRAccessTokenList
  5865. plural: gcraccesstokens
  5866. shortNames:
  5867. - gcraccesstoken
  5868. singular: gcraccesstoken
  5869. scope: Namespaced
  5870. versions:
  5871. - name: v1alpha1
  5872. schema:
  5873. openAPIV3Schema:
  5874. properties:
  5875. apiVersion:
  5876. description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  5877. type: string
  5878. kind:
  5879. description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  5880. type: string
  5881. metadata:
  5882. type: object
  5883. spec:
  5884. description: GCRAccessTokenSpec
  5885. properties:
  5886. auth:
  5887. properties:
  5888. secretRef:
  5889. properties:
  5890. secretAccessKeySecretRef:
  5891. description: The SecretAccessKey is used for authentication
  5892. properties:
  5893. key:
  5894. description: The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be defaulted, in others it may be required.
  5895. type: string
  5896. name:
  5897. description: The name of the Secret resource being referred to.
  5898. type: string
  5899. namespace:
  5900. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5901. type: string
  5902. type: object
  5903. type: object
  5904. workloadIdentity:
  5905. properties:
  5906. clusterLocation:
  5907. type: string
  5908. clusterName:
  5909. type: string
  5910. clusterProjectID:
  5911. type: string
  5912. serviceAccountRef:
  5913. description: A reference to a ServiceAccount resource.
  5914. properties:
  5915. audiences:
  5916. description: Audience specifies the `aud` claim for the service account token If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity then this audiences will be appended to the list
  5917. items:
  5918. type: string
  5919. type: array
  5920. name:
  5921. description: The name of the ServiceAccount resource being referred to.
  5922. type: string
  5923. namespace:
  5924. description: Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults to the namespace of the referent.
  5925. type: string
  5926. required:
  5927. - name
  5928. type: object
  5929. required:
  5930. - clusterLocation
  5931. - clusterName
  5932. - serviceAccountRef
  5933. type: object
  5934. type: object
  5935. projectID:
  5936. type: string
  5937. required:
  5938. - auth
  5939. - projectID
  5940. type: object
  5941. type: object
  5942. served: true
  5943. storage: true
  5944. subresources:
  5945. status: {}
  5946. conversion:
  5947. strategy: Webhook
  5948. webhook:
  5949. conversionReviewVersions:
  5950. - v1
  5951. clientConfig:
  5952. service:
  5953. name: kubernetes
  5954. namespace: default
  5955. path: /convert