-
Notifications
You must be signed in to change notification settings - Fork 0
Getting started
This page will guide you through creating your first devid persona and configuring the AWS credentials.
-
Grab
devidbinary from the latest release and make it executable & available in your$PATH. -
Create your first persona,
wiki.
$ devid new wiki
If it complains about $EDITOR not being allowed, run it again with EDITOR=nano devid new wiki.
- The
newcommand will create a configuration file for your persona, which you can later edit withdevid edit --persona wiki. This is how it looks like by default:
apiversion: v1
aws:
enabled: false
envs: {}
identity:
email: required
name: required
ssh:
enabled: false
tmux:
enabled: falseFirst fill identity.email and identity.name. Then to configure aws, set aws.enable: true.
-
Rehash the profile with
devid rehash --persona wiki. -
Load the persona dedicated shell with
devid shell --persona wiki -
Perform AWS authentication as you prefer (maybe settings credentials in your credentials file?). The credentials file for this persona is located at
~/.local/share/devid/personas/wiki/aws/credentials -
From now on you can enter/exit this persona's shell to use the configured credentials, no more fiddling with profiles!