Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
workstation
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IT Common Platform
Public Images
workstation
Commits
6a2ba164
Commit
6a2ba164
authored
1 year ago
by
Brandon Booker
Browse files
Options
Downloads
Plain Diff
Merge branch 'jaylor-fix-aws-sts-client' into 'main'
Fix aws-sts-client syntax error See merge request
!9
parents
4b08367e
9d5ef383
1 merge request
!9
Fix aws-sts-client syntax error
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aws-sts-client.sh
+3
-3
3 additions, 3 deletions
aws-sts-client.sh
with
3 additions
and
3 deletions
aws-sts-client.sh
+
3
−
3
View file @
6a2ba164
...
@@ -18,9 +18,9 @@ aws_sts_set () {
...
@@ -18,9 +18,9 @@ aws_sts_set () {
key
=
$(
echo
$token
| jq
--raw-output
'.Credentials.SecretAccessKey'
)
key
=
$(
echo
$token
| jq
--raw-output
'.Credentials.SecretAccessKey'
)
session_token
=
$(
echo
$token
| jq
--raw-output
'.Credentials.SessionToken'
)
session_token
=
$(
echo
$token
| jq
--raw-output
'.Credentials.SessionToken'
)
export
AWS_ACCESS_KEY_ID
=
$id
\
export
AWS_ACCESS_KEY_ID
=
$id
export
AWS_SECRET_ACCESS_KEY
=
$key
\
export
AWS_SECRET_ACCESS_KEY
=
$key
export
AWS_SESSION_TOKEN
=
$session_token
\
export
AWS_SESSION_TOKEN
=
$session_token
}
}
aws_do
()
{
aws_do
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment