Skip to content

Instantly share code, notes, and snippets.

@schmichael
Last active February 10, 2026 00:33
Show Gist options
  • Select an option

  • Save schmichael/cf0bea2c64f4014f766412637b89f672 to your computer and use it in GitHub Desktop.

Select an option

Save schmichael/cf0bea2c64f4014f766412637b89f672 to your computer and use it in GitHub Desktop.
acl {
enabled = true
}
operator {
policy = "write"
}
# See https://developer.hashicorp.com/nomad/docs/secure/acl/policies for ACL Policy details
# Example policy structure:
namespace "default" {
policy = "deny"
capabilities = []
}
namespace "example-ns" {
policy = "deny"
capabilities = ["list-jobs", "read-job"]
variables {
# list access to variables in all paths, full access in nested/variables/*
path "*" {
capabilities = ["list"]
}
path "nested/variables/*" {
capabilities = ["write", "read", "destroy", "list"]
}
}
}
host_volume "example-volume" {
policy = "deny"
}
agent {
policy = "deny"
}
node {
policy = "deny"
}
quota {
policy = "deny"
}
operator {
policy = "deny"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment