mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-26 09:55:52 +00:00
Add private key configs to ObjectStorage (#20386)
This commit is contained in:
parent
1c467d0ee1
commit
03e3e6d651
@ -33,6 +33,12 @@ public class AzureConfiguration {
|
||||
@JsonProperty("cdnUrl")
|
||||
private String cdnUrl;
|
||||
|
||||
@JsonProperty("cdnKeyName")
|
||||
private String cdnKeyName;
|
||||
|
||||
@JsonProperty("cdnKey")
|
||||
private String cdnKey;
|
||||
|
||||
@AssertTrue(
|
||||
message =
|
||||
"Either useManagedIdentity must be true, or a connectionString must be provided, "
|
||||
|
@ -37,6 +37,12 @@ public class S3Configuration {
|
||||
@JsonProperty("cloudFrontUrl")
|
||||
private String cloudFrontUrl;
|
||||
|
||||
@JsonProperty("cloudFrontKeyId")
|
||||
private String cloudFrontKeyPairId;
|
||||
|
||||
@JsonProperty("cloudFrontPrivateKeyPath")
|
||||
private String cloudFrontPrivateKeyPath;
|
||||
|
||||
@AssertTrue(
|
||||
message = "Either useIamRole must be true or both accessKey and secretKey must be provided")
|
||||
public boolean isValidCredentials() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user