跳至正文
Wener Notes

配置

约 1 分钟阅读
标签:配置
yaml
services:
  acmecorp:
    url: https://example.com/control-plane-api/v1
    response_header_timeout_seconds: 5
    credentials:
      bearer:
        # by Bearer
        token: "${TOKEN}"
        # by Basic Auth
        scheme: "Basic"
        # base64(<username>:<password>)
        # OCI 不需要手动 base64
        token: "${TOKEN}"

bundles:
  efs:
    resource: file:///some/share/containing/bundle.tar.gz
    polling:
      min_delay_seconds: 10
      max_delay_seconds: 30
decision_logs:
  service: acmecorp
  reporting:
    min_delay_seconds: 300
    max_delay_seconds: 600

default_decision: /system/main
default_authorization_decision: /system/authz/allow
# for bundles.*.persist
persistence_directory: $PWD/.opa
plugins: {}
#  non-deterministic builtins caching
nd_builtin_cache: false

keys:
  _:
    key: ''
    private_key: ''
    algorithm: RS256
    scope: ''

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

其他外链1 条
最近更新commit e8b9b8b编辑