diff options
| author | Franck Cuny <franck@fcuny.net> | 2023-12-14 17:54:52 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2023-12-14 17:54:52 -0800 |
| commit | cd54909e6ef6faa27c3066100782acf7fd704890 (patch) | |
| tree | 5953b23f268347051090b65aa14348d1a9802d37 /docs/gcloud.org | |
| parent | use the `update-flake-lock` to update nix flakes (diff) | |
| download | infra-cd54909e6ef6faa27c3066100782acf7fd704890.tar.gz | |
update the main documentation
Delete unused/outdated documentations.
Diffstat (limited to 'docs/gcloud.org')
| -rw-r--r-- | docs/gcloud.org | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/docs/gcloud.org b/docs/gcloud.org deleted file mode 100644 index 95e7531..0000000 --- a/docs/gcloud.org +++ /dev/null @@ -1,21 +0,0 @@ -#+TITLE: Gcloud - -* Initial setup -First we need to create a service account, with: -#+begin_src sh -gcloud --project fcuny-homelab iam service-accounts create world-nix -#+end_src - -Next we need to bind the new policy: -#+begin_src sh -gcloud projects add-iam-policy-binding fcuny-homelab --member="serviceAccount:world-nix@fcuny-homelab.iam.gserviceaccount.com" --role="roles/accessapproval.configEditor" -#+end_src - -Note: I had to add DNS administrator in the console, I don't know what I need to add to this command. - -Finally we need the key: -#+begin_src sh -gcloud iam service-accounts keys create world-nix.json --iam-account=world-nix@fcuny-homelab.iam.gserviceaccount.com -#+end_src - -This will create a file name =world-nix.json=. It's best to encrypt it with =age= and move it under the =secrets= directory for a host. |
