Skip to content

ACL token not being passed #35

@haf

Description

@haf

If you set it in the configuration, it will only be passed to the KV module.

Only usage:

let private mkReq methd (state: FaktaState) (kvp: KVPair) fUri (opts: WriteOptions) (body: RequestBody) =
  UriBuilder.ofKVKey state.config kvp.key
  |> UriBuilder.mappendRange (configOptKvs state.config)
  |> UriBuilder.mappendRange (writeOptsKvs opts)
  |> fUri
  |> UriBuilder.toUri
  |> basicRequest state.config methd
  |> Request.body body

Instead, if FaktaConfig contains a Some consulToken value, use it with X-Consul-Token headers when talking to consul and X-Vault-Token when talking to Vault.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions