0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Windowsのaws-vault

Posted at

GPGインストール

参考:https://mytech-blog.com/ubuntu-aws-vault/

$ sudo apt-get update && sudo apt-get install -y pass gnupg
$ gpg --gen-key
   gpg (GnuPG) 2.2.27; Copyright (C) 2021 Free Software Foundation, Inc.
   ...
   公開鍵と秘密鍵を作成し、署名しました。
 
   pub   rsa3072 2024-10-09 [SC] [有効期限: 2026-10-09]
          E94E7E7733DEA707685656E1D895E3B647B56666
   uid                      sawada.taiji <sawada.taiji@jp.panasonic.com>
   sub   rsa3072 2024-10-09 [E] [有効期限: 2026-10-09]
$ MY_PUBLIC_KEY="E94E7E7733DEA707685656E1D895E3B647B56666"
$ pass init "$MY_PUBLIC_KEY"
$ emacs ~/.bashrc # 下記を追加
   export AWS_VAULT_BACKEND=pass
   export AWS_VAULT_PASS_PREFIX=aws-vault
   export GPG_TTY=$(tty)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?