Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Update documentation to warn people about Secret naming requirements #1155

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

subssn21
Copy link
Contributor

The documentation does not mention the naming requirements for secrets, updating the documentation to reflect the error message you receive with an improperly named secret

@jayair
Copy link
Contributor

jayair commented Sep 27, 2024

Was this an error you got on deploy?

@subssn21
Copy link
Contributor Author

subssn21 commented Sep 27, 2024

Yes, that was literally the error message you get, but it's not mentioned in the documentation that their are any special requirements for secret names, so I assumed if it was a valid variable name it would work which is not the case.

@jayair
Copy link
Contributor

jayair commented Sep 27, 2024

Yeah let me add it to the docs. The secret names follow the same rules as the components.

@jayair jayair merged commit d7134ec into sst:dev Sep 27, 2024
@nurulhudaapon
Copy link

nurulhudaapon commented Sep 28, 2024

@jayair What was that PR about? Underscore in secret name works now.

#1073

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants