From commits-return-27024-archive-asf-public=cust-asf.ponee.io@flink.apache.org Wed Nov 27 10:46:24 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B16BE180675 for ; Wed, 27 Nov 2019 11:46:23 +0100 (CET) Received: (qmail 43258 invoked by uid 500); 27 Nov 2019 10:46:22 -0000 Mailing-List: contact commits-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list commits@flink.apache.org Received: (qmail 43088 invoked by uid 99); 27 Nov 2019 10:46:22 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Nov 2019 10:46:22 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 77F178B690; Wed, 27 Nov 2019 10:46:22 +0000 (UTC) Date: Wed, 27 Nov 2019 10:46:23 +0000 To: "commits@flink.apache.org" Subject: [flink] 02/02: [FLINK-14930][fs][oss] Document credential providers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: chesnay@apache.org In-Reply-To: <157485158095.13620.8940005576532120207@gitbox.apache.org> References: <157485158095.13620.8940005576532120207@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: flink X-Git-Refname: refs/heads/release-1.9 X-Git-Reftype: branch X-Git-Rev: 1663c21f71c76d6fe16dc4637372f77c20ad1197 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20191127104622.77F178B690@gitbox.apache.org> 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 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 %}