[
https://issues.apache.org/jira/browse/BEAM-13956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493855#comment-17493855
]
Moritz Mack commented on BEAM-13956:
------------------------------------
[~i_maravic] I don't think such a mechanism exists natively in Beam. I suppose
that's something you could achieve configuring your resource scheduler
accordingly. Though that's a bit more "global" and not as flexible. Why not use
PipelineOptions as these are propagated automatically?
> Serialize/deserialize used StsClient when serializing/deserializing
> StsAssumeRoleCredentialsProvider
> ----------------------------------------------------------------------------------------------------
>
> Key: BEAM-13956
> URL: https://issues.apache.org/jira/browse/BEAM-13956
> Project: Beam
> Issue Type: Improvement
> Components: io-java-aws
> Reporter: Igor Maravić
> Priority: P3
> Labels: aws, aws-sdk-v2
>
> To use _StsAssumeRoleCredentialsProvider_ from the environment that doesn't
> have access to AWS defaults credentials one needs to provide configured
> _StsClient_ to {_}StsAssumeRoleCredentialsProvider{_}.
> If we don't serialize and consequently deserialize _StsClient_ that was
> provided to _StsAssumeRoleCredentialsProvider,_ we're not going to be able to
> use _StsAssumeRoleCredentialsProvider_ from the Beam pipeline.
> The goal of this ticket is to introduce this functionality.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)