Skip to content

Commit 99522a4

Browse files
committed
fix: Adding preamble for best practices
1 parent b58f938 commit 99522a4

File tree

1 file changed

+2
-0
lines changed
  • docs/2.0/docs/pipelines/concepts/cloud-auth

1 file changed

+2
-0
lines changed

docs/2.0/docs/pipelines/concepts/cloud-auth/custom.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ environment "cloudflare_environment" {
174174

175175
## Best practices
176176

177+
These are some general best practices you should keep in mind as you implement custom authentication.
178+
177179
1. **If possible, use OIDC**: Use OIDC when possible to avoid storing long-lived credentials in your CI/CD environment.
178180
2. **Store scripts in version control**: Keep your authentication scripts in the `.gruntwork/scripts/` directory so they're versioned with your infrastructure code
179181
3. **Handle errors gracefully**: Ensure your authentication scripts exit with non-zero status codes on failure

0 commit comments

Comments
 (0)