cc-tracking/tasks/OB AWS.md

63 lines
1.1 KiB
Markdown
Raw Normal View History

2019-03-21 11:11:07 +00:00
OB AWS
========================
```
Hi Martin
OB AWS account
https://rax-e4bacea2ff104e308293609ef5cbcb9d.signin.aws.amazon.com/console
username: martin.donnelly
password: tE2MKv\D9A4fRo$K
group: arn:aws:iam::608578871059:group/DevReadOnly
Please enable MFA when logged in.
Thanks
Seán
```
Switch role
```
account: 482681734622
role: OB_ReadOnly_Role
RS Development
rsdev
openbankng.cc
openbanking.xyz
https://rax-b7a6c98d9ab74eecaae6d4d92b5cd3cb.signin.aws.amazon.com/console
2019-05-21 15:40:16 +00:00
```
OB_Developer_Role @ 4957-6850-3152
```
PreProduction 495768503152 OB_Developer_Role
Development 482681734622 OB_Developer_Role
Production 024762423152 OB_Developer_Role
if $( echo $ENVNAME | grep -q "mgmt" ); then
ROLE_ARN=arn:aws:iam::608578871059:role/OB_DevOps_Role
SESSION_NAME=MGMT
elif $( echo $ENVNAME | grep -q "dev" ); then
ROLE_ARN=arn:aws:iam::482681734622:role/OB_DevOps_Role
SESSION_NAME=DEV
elif $( echo $ENVNAME | grep -q "preprod" ); then
ROLE_ARN=arn:aws:iam::495768503152:role/OB_DevOps_Role
SESSION_NAME=PREPROD
elif $( echo $ENVNAME |
2019-03-21 11:11:07 +00:00
```