Merge pull request #673 from samalba/fix-init-cmd

docs: 101: fixed init command
This commit is contained in:
Sam Alba 2021-06-17 17:49:49 +02:00 committed by GitHub
commit 875df13721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ Dagger natively supports encrypted secrets: when a user inputs a value marked as
(for example a password, API token or ssh key) it is automatically encrypted with that user's key, (for example a password, API token or ssh key) it is automatically encrypted with that user's key,
and no other user can access that value unless they are explicitly given access. and no other user can access that value unless they are explicitly given access.
In the interest of security, Dagger has no way *not* to encrypt a secret value. In the interest of security, Dagger has no way _not_ to encrypt a secret value.
But this causes a dilemma for this tutorial: how do we give unrestricted public access to our But this causes a dilemma for this tutorial: how do we give unrestricted public access to our
(carefully sandboxed) infrastructure, so that anyone can deploy to it? (carefully sandboxed) infrastructure, so that anyone can deploy to it?
@ -49,7 +49,7 @@ To solve this dilemma, we included the private key used to encrypt the tutorial'
Simply import the key to your Dagger installation, and you're good to go: Simply import the key to your Dagger installation, and you're good to go:
```shell ```shell
dagger input list || curl -sfL https://releases.dagger.io/examples/key.txt >> ~/.config/dagger/keys.txt ./import-tutorial-key.sh
``` ```
## First deployment ## First deployment