kopia lustrzana https://github.com/gaul/s3proxy
Clear system property for credentials for file paths
jclouds will override the passed in credentials if the system property is presentpull/554/head
rodzic
1b33acacc5
commit
ff347352bf
|
@ -325,6 +325,9 @@ public final class Main {
|
|||
StandardCharsets.UTF_8).read();
|
||||
}
|
||||
properties.remove(Constants.PROPERTY_CREDENTIAL);
|
||||
// We also need to clear the system property, otherwise the
|
||||
// credential will be overridden by the system property.
|
||||
System.clearProperty(Constants.PROPERTY_CREDENTIAL);
|
||||
}
|
||||
|
||||
if (identity == null || credential == null) {
|
||||
|
|
Ładowanie…
Reference in New Issue