Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Wellbore
Lib
Wellbore-cloud
Wellbore-aws-lib
Commits
e12a936b
Commit
e12a936b
authored
Oct 01, 2021
by
Spencer Sutton
Browse files
Removing tenant from credential params
parent
40392f53
Pipeline
#69501
passed with stage
in 33 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
osdu_aws/storage/storage_aws.py
View file @
e12a936b
...
...
@@ -138,9 +138,9 @@ class AwsStorage(BlobStorageBase):
bucket_policy
=
self
.
getPolicy
(
self
.
_bucket_name
,
folder
)
response
=
ssm
.
get_parameter
(
Name
=
f
'/osdu/
{
self
.
_aws_env
}
/
{
data_partition_id
}
/
wellbore-ddms/iam/s3-access-role-arn'
)
response
=
ssm
.
get_parameter
(
Name
=
f
'/osdu/
{
self
.
_aws_env
}
/wellbore-ddms/iam/s3-access-role-arn'
)
roleArn
=
response
[
'Parameter'
][
'Value'
]
response
=
ssm
.
get_parameter
(
Name
=
f
'/osdu/
{
self
.
_aws_env
}
/
{
data_partition_id
}
/
wellbore-ddms/temp-cred-expiration-duration'
)
response
=
ssm
.
get_parameter
(
Name
=
f
'/osdu/
{
self
.
_aws_env
}
/wellbore-ddms/temp-cred-expiration-duration'
)
exp
=
response
[
'Parameter'
][
'Value'
]
sts_client
=
boto3
.
client
(
'sts'
,
region_name
=
self
.
_region
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment