Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-3986

Improve setAwsCredentialsProvider documentation

Details

    • Improvement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • io-java-aws
    • None

    Description

      I tried using --awsCredentialsProvider with a JSON string (i.e., --awsCredentialsProvider='{"awsAccessKeyId" : "<keyid>", "awsSecretKey" : "<secret>"}') and it was not clear from documentation that "@type" and an AWS credentials class was required.

      We should improve the javadoc and PipelineOptions to include the following description/example:

      @Description("The credential instance that should be used to authenticate against AWS services. " + "The option value must contain \"@type\" field and an AWS Credentials Provider class name as a value. " + "Refer to DefaultAWSCredentialsProviderChain Javadoc for usage help. " + "For example, to specify the AWS key ID and secret on the command line, specify the following: {\"@type\": \"AWSStaticCredentialsProvider\", \"awsAccessKeyId\":\"<key_id>\", \"awsSecretKey\":\"<secret_key>\"}

       

       

      Attachments

        Issue Links

          Activity

            People

              pgerv12 Paul Gerver
              pgerv12 Paul Gerver
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m