Configure AWS CLI and vault

This commit is contained in:
Ray Miller 2025-04-26 12:20:52 +01:00
parent 3d432c2f6e
commit 95e519eb51
Signed by: ray
GPG key ID: 043F786C4CD681B8
2 changed files with 20 additions and 2 deletions

14
dotfiles/aws/.aws/config Normal file
View file

@ -0,0 +1,14 @@
#
# Metail SSO
#
[sso-session metail]
sso_region=eu-west-1
sso_start_url=https://d-93676d306a.awsapps.com/start/
sso_registration_scopes=sso:account:access
[profile testing-admin]
sso_session=metail
region=eu-west-1
output=json
sso_account_id=779362500905
sso_role_name=AWSAdministratorAccess

View file

@ -19,7 +19,9 @@
(home-environment
;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile.
(packages (specifications->packages (list "cmake"
(packages (specifications->packages (list "awscli"
"aws-vault"
"cmake"
"diffstat"
"emacs-no-x"
"gcc-toolchain"
@ -77,7 +79,9 @@
(environment-variables '(("GPG_TTY" . "$(tty)")
("ALTERNATE_EDITOR" . "")
("EDITOR" . "emacsclient --tty")
("VISUAL" . "emacsclient")))
("VISUAL" . "emacsclient")
("AWS_VAULT_BACKEND" . "pass")
("AWS_VAULT_PASS_PREFIX" . "awsvault")))
(aliases '())))
(service home-dotfiles-service-type
(home-dotfiles-configuration