Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pantheon Secrets Guide Doc Update #9233

Open
aaronpinero opened this issue Sep 23, 2024 · 0 comments
Open

Pantheon Secrets Guide Doc Update #9233

aaronpinero opened this issue Sep 23, 2024 · 0 comments
Labels
Source: External Issue or PR was contributed from outside of the org Topic: Local Development Topic: Secrets Type: Fix Content Issue or PR to resolve incorrect information in the docs

Comments

@aaronpinero
Copy link

Re: Pantheon Secrets Guide

Priority: Medium

Issue Description:

  1. The documentation for the command to generate the secrets file is incomplete. The full command should be terminus secret:site:local-generate <site> --filepath=./secrets.json
  2. The documentation is not specific about where the .json file needs to be placed.
  3. The documentation doesn't provide any explanation on how to access the secrets in the .json file

Suggested Resolution:

  1. The correction for the documentation is given above.
  2. For DDEV, the file path set in the config.yml file for CUSTOMER_SECRETS_FAKE_FILE needs to be relative to the web root. This should be clarified in the documentation. I don't know if the same is true for Lando, but I suspect it might be.
  3. It would help to tell users that, if the local development setup is working properly, secrets should be accessible using the example provided in the Usage section of https://github.com/pantheon-systems/customer-secrets-php-sdk. In addition, for Drupal, secrets should be available when using the Key module with the Pantheon Secrets module. Users should go to the Key module configuration, click on the Sync Pantheon Secrets tab, and click the Sync Keys button. Secrets indicated in the .json file should appear in the available list of keys.
  4. In the Restrictions section of the page, it should be repeated that the pantheon_get_secret function will not work in local development, only on Pantheon's systems.
@jazzsequence jazzsequence added Type: Fix Content Issue or PR to resolve incorrect information in the docs Source: External Issue or PR was contributed from outside of the org Topic: Local Development Topic: Secrets labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source: External Issue or PR was contributed from outside of the org Topic: Local Development Topic: Secrets Type: Fix Content Issue or PR to resolve incorrect information in the docs
Projects
None yet
Development

No branches or pull requests

2 participants