You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/ui/packages/consul-ui/app/services/env.mdx

15 lines
309 B

# env
Our env service (along with the `env` helper which is backed by this service)
is used to access various global 'environment style' variables throughout the
app.
```js
export default class extends Ability {
@service('env') env;
canRead() {
return this.env.var('CONSUL_ACLS_ENABLED');
}
}
```