flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject [flink] 02/02: [FLINK-14930][fs][oss] Document credential providers
Date Wed, 27 Nov 2019 10:46:23 GMT
This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch release-1.9
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 1663c21f71c76d6fe16dc4637372f77c20ad1197
Author: Konstantin Knauf <knauf.konstantin@gmail.com>
AuthorDate: Fri Nov 22 22:00:32 2019 +0100

    [FLINK-14930][fs][oss] Document credential providers
---
 docs/ops/filesystems/oss.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/docs/ops/filesystems/oss.md b/docs/ops/filesystems/oss.md
index e2af733..6b2be11 100644
--- a/docs/ops/filesystems/oss.md
+++ b/docs/ops/filesystems/oss.md
@@ -77,4 +77,13 @@ fs.oss.accessKeyId: Aliyun access key ID
 fs.oss.accessKeySecret: Aliyun access key secret
 {% endhighlight %}
 
+An alternative `CredentialsProvider` can also be configured in the `flink-conf.yaml`, e.g.

+{% highlight yaml %}
+# Read Credentials from OSS_ACCESS_KEY_ID and OSS_ACCESS_KEY_SECRET
+fs.oss.credentials.provider: com.aliyun.oss.common.auth.EnvironmentVariableCredentialsProvider
+{% endhighlight %}
+Other credential providers can be found under https://github.com/aliyun/aliyun-oss-java-sdk/tree/master/src/main/java/com/aliyun/oss/common/auth.

+
+ 
+
 {% top %}


Mime
View raw message