Add private key configs to ObjectStorage (#20386)

This commit is contained in:
Sriharsha Chintalapani 2025-03-24 06:04:45 -07:00 committed by GitHub
parent 1c467d0ee1
commit 03e3e6d651
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View File

@ -33,6 +33,12 @@ public class AzureConfiguration {
@JsonProperty("cdnUrl") @JsonProperty("cdnUrl")
private String cdnUrl; private String cdnUrl;
@JsonProperty("cdnKeyName")
private String cdnKeyName;
@JsonProperty("cdnKey")
private String cdnKey;
@AssertTrue( @AssertTrue(
message = message =
"Either useManagedIdentity must be true, or a connectionString must be provided, " "Either useManagedIdentity must be true, or a connectionString must be provided, "

View File

@ -37,6 +37,12 @@ public class S3Configuration {
@JsonProperty("cloudFrontUrl") @JsonProperty("cloudFrontUrl")
private String cloudFrontUrl; private String cloudFrontUrl;
@JsonProperty("cloudFrontKeyId")
private String cloudFrontKeyPairId;
@JsonProperty("cloudFrontPrivateKeyPath")
private String cloudFrontPrivateKeyPath;
@AssertTrue( @AssertTrue(
message = "Either useIamRole must be true or both accessKey and secretKey must be provided") message = "Either useIamRole must be true or both accessKey and secretKey must be provided")
public boolean isValidCredentials() { public boolean isValidCredentials() {