Skip to content

Commit

Permalink
Adding api-secret flag to docs (#2940)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamengual authored Jan 6, 2023
1 parent 46bf046 commit 9d4e2b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runatlantis.io/docs/server-side-repo-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ repos:
post_workflow_hooks:
- run: my-post-workflow-hook-command arg1

# api-secret defines the secret used to pass to the /api/plan and /api/apply endpoints
# if not present the api endpoints will not be accesible.
api-secret: "myapisecret"

# id can also be an exact match.
- id: github.com/myorg/specific-repo

Expand Down Expand Up @@ -472,6 +476,7 @@ If you set a workflow with the key `default`, it will override this.
| allow_custom_workflows | bool | false | no | Whether or not to allow [Custom Workflows](custom-workflows.html). |
| delete_source_branch_on_merge | bool | false | no | Whether or not to delete the source branch on merge (only AzureDevOps and GitLab support) |
| repo_locking | bool | false | no | Whether or not to get a lock |
| api-secret | string | none | no | Api secret key for the /api/plan and /api/apply api endpoints. if not set the /api/* endpoints are disable by default. |


:::tip Notes
Expand Down

0 comments on commit 9d4e2b5

Please sign in to comment.