forked from datreeio/CRDs-catalog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclustersecretstore_v1alpha1.json
1731 lines (1731 loc) · 87.4 KB
/
clustersecretstore_v1alpha1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"description": "ClusterSecretStore represents a secure external location for storing secrets, which can be referenced as part of `storeRef` fields.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "SecretStoreSpec defines the desired state of SecretStore.",
"properties": {
"controller": {
"description": "Used to select the correct ESO controller (think: ingress.ingressClassName)\nThe ESO controller is instantiated with a specific controller name and filters ES based on this property",
"type": "string"
},
"provider": {
"description": "Used to configure the provider. Only one provider may be set",
"maxProperties": 1,
"minProperties": 1,
"properties": {
"akeyless": {
"description": "Akeyless configures this store to sync secrets using Akeyless Vault provider",
"properties": {
"akeylessGWApiURL": {
"description": "Akeyless GW API Url from which the secrets to be fetched from.",
"type": "string"
},
"authSecretRef": {
"description": "Auth configures how the operator authenticates with Akeyless.",
"properties": {
"kubernetesAuth": {
"description": "Kubernetes authenticates with Akeyless by passing the ServiceAccount\ntoken stored in the named Secret resource.",
"properties": {
"accessID": {
"description": "the Akeyless Kubernetes auth-method access-id",
"type": "string"
},
"k8sConfName": {
"description": "Kubernetes-auth configuration name in Akeyless-Gateway",
"type": "string"
},
"secretRef": {
"description": "Optional secret field containing a Kubernetes ServiceAccount JWT used\nfor authenticating with Akeyless. If a name is specified without a key,\n`token` is the default. If one is not specified, the one bound to\nthe controller will be used.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"serviceAccountRef": {
"description": "Optional service account field containing the name of a kubernetes ServiceAccount.\nIf the service account is specified, the service account secret token JWT will be used\nfor authenticating with Akeyless. If the service account selector is not supplied,\nthe secretRef will be used instead.",
"properties": {
"audiences": {
"description": "Audience specifies the `aud` claim for the service account token\nIf the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity\nthen this audiences will be appended to the list",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the ServiceAccount resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
}
},
"required": [
"accessID",
"k8sConfName"
],
"type": "object",
"additionalProperties": false
},
"secretRef": {
"description": "Reference to a Secret that contains the details\nto authenticate with Akeyless.",
"properties": {
"accessID": {
"description": "The SecretAccessID is used for authentication",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"accessType": {
"description": "A reference to a specific 'key' within a Secret resource,\nIn some instances, `key` is a required field.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"accessTypeParam": {
"description": "A reference to a specific 'key' within a Secret resource,\nIn some instances, `key` is a required field.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"caBundle": {
"description": "PEM/base64 encoded CA bundle used to validate Akeyless Gateway certificate. Only used\nif the AkeylessGWApiURL URL is using HTTPS protocol. If not set the system root certificates\nare used to validate the TLS connection.",
"format": "byte",
"type": "string"
},
"caProvider": {
"description": "The provider for the CA bundle to use to validate Akeyless Gateway certificate.",
"properties": {
"key": {
"description": "The key the value inside of the provider type to use, only used with \"Secret\" type",
"type": "string"
},
"name": {
"description": "The name of the object located at the provider type.",
"type": "string"
},
"namespace": {
"description": "The namespace the Provider type is in.",
"type": "string"
},
"type": {
"description": "The type of provider to use such as \"Secret\", or \"ConfigMap\".",
"enum": [
"Secret",
"ConfigMap"
],
"type": "string"
}
},
"required": [
"name",
"type"
],
"type": "object",
"additionalProperties": false
}
},
"required": [
"akeylessGWApiURL",
"authSecretRef"
],
"type": "object",
"additionalProperties": false
},
"alibaba": {
"description": "Alibaba configures this store to sync secrets using Alibaba Cloud provider",
"properties": {
"auth": {
"description": "AlibabaAuth contains a secretRef for credentials.",
"properties": {
"rrsa": {
"description": "Authenticate against Alibaba using RRSA.",
"properties": {
"oidcProviderArn": {
"type": "string"
},
"oidcTokenFilePath": {
"type": "string"
},
"roleArn": {
"type": "string"
},
"sessionName": {
"type": "string"
}
},
"required": [
"oidcProviderArn",
"oidcTokenFilePath",
"roleArn",
"sessionName"
],
"type": "object",
"additionalProperties": false
},
"secretRef": {
"description": "AlibabaAuthSecretRef holds secret references for Alibaba credentials.",
"properties": {
"accessKeyIDSecretRef": {
"description": "The AccessKeyID is used for authentication",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"accessKeySecretSecretRef": {
"description": "The AccessKeySecret is used for authentication",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"accessKeyIDSecretRef",
"accessKeySecretSecretRef"
],
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"regionID": {
"description": "Alibaba Region to be used for the provider",
"type": "string"
}
},
"required": [
"auth",
"regionID"
],
"type": "object",
"additionalProperties": false
},
"aws": {
"description": "AWS configures this store to sync secrets using AWS Secret Manager provider",
"properties": {
"auth": {
"description": "Auth defines the information necessary to authenticate against AWS\nif not set aws sdk will infer credentials from your environment\nsee: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials",
"properties": {
"jwt": {
"description": "Authenticate against AWS using service account tokens.",
"properties": {
"serviceAccountRef": {
"description": "A reference to a ServiceAccount resource.",
"properties": {
"audiences": {
"description": "Audience specifies the `aud` claim for the service account token\nIf the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity\nthen this audiences will be appended to the list",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the ServiceAccount resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"secretRef": {
"description": "AWSAuthSecretRef holds secret references for AWS credentials\nboth AccessKeyID and SecretAccessKey must be defined in order to properly authenticate.",
"properties": {
"accessKeyIDSecretRef": {
"description": "The AccessKeyID is used for authentication",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"secretAccessKeySecretRef": {
"description": "The SecretAccessKey is used for authentication",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"region": {
"description": "AWS Region to be used for the provider",
"type": "string"
},
"role": {
"description": "Role is a Role ARN which the SecretManager provider will assume",
"type": "string"
},
"service": {
"description": "Service defines which service should be used to fetch the secrets",
"enum": [
"SecretsManager",
"ParameterStore"
],
"type": "string"
}
},
"required": [
"region",
"service"
],
"type": "object",
"additionalProperties": false
},
"azurekv": {
"description": "AzureKV configures this store to sync secrets using Azure Key Vault provider",
"properties": {
"authSecretRef": {
"description": "Auth configures how the operator authenticates with Azure. Required for ServicePrincipal auth type.",
"properties": {
"clientId": {
"description": "The Azure clientId of the service principle used for authentication.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"clientSecret": {
"description": "The Azure ClientSecret of the service principle used for authentication.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"authType": {
"default": "ServicePrincipal",
"description": "Auth type defines how to authenticate to the keyvault service.\nValid values are:\n- \"ServicePrincipal\" (default): Using a service principal (tenantId, clientId, clientSecret)\n- \"ManagedIdentity\": Using Managed Identity assigned to the pod (see aad-pod-identity)",
"enum": [
"ServicePrincipal",
"ManagedIdentity",
"WorkloadIdentity"
],
"type": "string"
},
"identityId": {
"description": "If multiple Managed Identity is assigned to the pod, you can select the one to be used",
"type": "string"
},
"serviceAccountRef": {
"description": "ServiceAccountRef specified the service account\nthat should be used when authenticating with WorkloadIdentity.",
"properties": {
"audiences": {
"description": "Audience specifies the `aud` claim for the service account token\nIf the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity\nthen this audiences will be appended to the list",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the ServiceAccount resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
"tenantId": {
"description": "TenantID configures the Azure Tenant to send requests to. Required for ServicePrincipal auth type.",
"type": "string"
},
"vaultUrl": {
"description": "Vault Url from which the secrets to be fetched from.",
"type": "string"
}
},
"required": [
"vaultUrl"
],
"type": "object",
"additionalProperties": false
},
"fake": {
"description": "Fake configures a store with static key/value pairs",
"properties": {
"data": {
"items": {
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
},
"valueMap": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"version": {
"type": "string"
}
},
"required": [
"key"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"required": [
"data"
],
"type": "object",
"additionalProperties": false
},
"gcpsm": {
"description": "GCPSM configures this store to sync secrets using Google Cloud Platform Secret Manager provider",
"properties": {
"auth": {
"description": "Auth defines the information necessary to authenticate against GCP",
"properties": {
"secretRef": {
"properties": {
"secretAccessKeySecretRef": {
"description": "The SecretAccessKey is used for authentication",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"workloadIdentity": {
"properties": {
"clusterLocation": {
"type": "string"
},
"clusterName": {
"type": "string"
},
"clusterProjectID": {
"type": "string"
},
"serviceAccountRef": {
"description": "A reference to a ServiceAccount resource.",
"properties": {
"audiences": {
"description": "Audience specifies the `aud` claim for the service account token\nIf the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity\nthen this audiences will be appended to the list",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the ServiceAccount resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
}
},
"required": [
"clusterLocation",
"clusterName",
"serviceAccountRef"
],
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"projectID": {
"description": "ProjectID project where secret is located",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"gitlab": {
"description": "GitLab configures this store to sync secrets using GitLab Variables provider",
"properties": {
"auth": {
"description": "Auth configures how secret-manager authenticates with a GitLab instance.",
"properties": {
"SecretRef": {
"properties": {
"accessToken": {
"description": "AccessToken is used for authentication.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"SecretRef"
],
"type": "object",
"additionalProperties": false
},
"projectID": {
"description": "ProjectID specifies a project where secrets are located.",
"type": "string"
},
"url": {
"description": "URL configures the GitLab instance URL. Defaults to https://gitlab.com/.",
"type": "string"
}
},
"required": [
"auth"
],
"type": "object",
"additionalProperties": false
},
"ibm": {
"description": "IBM configures this store to sync secrets using IBM Cloud provider",
"properties": {
"auth": {
"description": "Auth configures how secret-manager authenticates with the IBM secrets manager.",
"properties": {
"secretRef": {
"properties": {
"secretApiKeySecretRef": {
"description": "The SecretAccessKey is used for authentication",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"secretRef"
],
"type": "object",
"additionalProperties": false
},
"serviceUrl": {
"description": "ServiceURL is the Endpoint URL that is specific to the Secrets Manager service instance",
"type": "string"
}
},
"required": [
"auth"
],
"type": "object",
"additionalProperties": false
},
"kubernetes": {
"description": "Kubernetes configures this store to sync secrets using a Kubernetes cluster provider",
"properties": {
"auth": {
"description": "Auth configures how secret-manager authenticates with a Kubernetes instance.",
"maxProperties": 1,
"minProperties": 1,
"properties": {
"cert": {
"description": "has both clientCert and clientKey as secretKeySelector",
"properties": {
"clientCert": {
"description": "A reference to a specific 'key' within a Secret resource,\nIn some instances, `key` is a required field.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"clientKey": {
"description": "A reference to a specific 'key' within a Secret resource,\nIn some instances, `key` is a required field.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"serviceAccount": {
"description": "points to a service account that should be used for authentication",
"properties": {
"serviceAccount": {
"description": "A reference to a ServiceAccount resource.",
"properties": {
"audiences": {
"description": "Audience specifies the `aud` claim for the service account token\nIf the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity\nthen this audiences will be appended to the list",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the ServiceAccount resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"token": {
"description": "use static token to authenticate with",
"properties": {
"bearerToken": {
"description": "A reference to a specific 'key' within a Secret resource,\nIn some instances, `key` is a required field.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"remoteNamespace": {
"default": "default",
"description": "Remote namespace to fetch the secrets from",
"type": "string"
},
"server": {
"description": "configures the Kubernetes server Address.",
"properties": {
"caBundle": {
"description": "CABundle is a base64-encoded CA certificate",
"format": "byte",
"type": "string"
},
"caProvider": {
"description": "see: https://external-secrets.io/v0.4.1/spec/#external-secrets.io/v1alpha1.CAProvider",
"properties": {
"key": {
"description": "The key the value inside of the provider type to use, only used with \"Secret\" type",
"type": "string"
},
"name": {
"description": "The name of the object located at the provider type.",
"type": "string"
},
"namespace": {
"description": "The namespace the Provider type is in.",
"type": "string"
},
"type": {
"description": "The type of provider to use such as \"Secret\", or \"ConfigMap\".",
"enum": [
"Secret",
"ConfigMap"
],
"type": "string"
}
},
"required": [
"name",
"type"
],
"type": "object",
"additionalProperties": false
},
"url": {
"default": "kubernetes.default",
"description": "configures the Kubernetes server Address.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"auth"
],
"type": "object",
"additionalProperties": false
},
"oracle": {
"description": "Oracle configures this store to sync secrets using Oracle Vault provider",
"properties": {
"auth": {
"description": "Auth configures how secret-manager authenticates with the Oracle Vault.\nIf empty, instance principal is used. Optionally, the authenticating principal type\nand/or user data may be supplied for the use of workload identity and user principal.",
"properties": {
"secretRef": {
"description": "SecretRef to pass through sensitive information.",
"properties": {
"fingerprint": {
"description": "Fingerprint is the fingerprint of the API private key.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"privatekey": {
"description": "PrivateKey is the user's API Signing Key in PEM format, used for authentication.",
"properties": {
"key": {
"description": "The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be\ndefaulted, in others it may be required.",
"type": "string"
},
"name": {
"description": "The name of the Secret resource being referred to.",
"type": "string"
},
"namespace": {
"description": "Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults\nto the namespace of the referent.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"fingerprint",
"privatekey"
],
"type": "object",
"additionalProperties": false
},
"tenancy": {
"description": "Tenancy is the tenancy OCID where user is located.",
"type": "string"
},
"user": {
"description": "User is an access OCID specific to the account.",
"type": "string"
}
},
"required": [
"secretRef",
"tenancy",
"user"
],
"type": "object",
"additionalProperties": false
},
"compartment": {
"description": "Compartment is the vault compartment OCID.\nRequired for PushSecret",
"type": "string"
},
"encryptionKey": {
"description": "EncryptionKey is the OCID of the encryption key within the vault.\nRequired for PushSecret",