Concourse S3 resource role ARN

This commit is contained in:
aboyko
2023-11-10 11:08:28 -05:00
parent e15df1760a
commit 5d93b63a4d
3 changed files with 4 additions and 0 deletions

View File

@@ -815,6 +815,7 @@ public class PipelineYmlSchema implements YamlSchema {
addProp(source, "access_key_id", t_ne_string);
addProp(source, "secret_access_key", t_ne_string);
addProp(source, "session_token", t_ne_string);
addProp(source, "aws_role_arn", t_ne_string);
addProp(source, "region_name", t_aws_region);
addProp(source, "private", t_boolean);
addProp(source, "cloudfront_url", t_ne_string);
@@ -892,6 +893,7 @@ public class PipelineYmlSchema implements YamlSchema {
addProp(s3_source, "key", t_ne_string).isRequired(true);
addProp(s3_source, "access_key_id", t_ne_string).isRequired(true);
addProp(s3_source, "secret_access_key", t_ne_string).isRequired(true);
addProp(s3_source, "assume_role_arn", t_ne_string);
addProp(s3_source, "region_name", t_aws_region);
addProp(s3_source, "endpoint", t_ne_string);
addProp(s3_source, "disable_ssl", t_boolean);

View File

@@ -0,0 +1 @@
*Optional.* The AWS role to assume when using access keys.

View File

@@ -0,0 +1 @@
*Optional.* The AWS role ARN to be assumed by the user identified by `access_key_id` and `secret_access_key`.