the queue's exporter asks every request for a login the gateway supplies
This commit is contained in:
parent
f54aae7927
commit
893b693b46
1 changed files with 488 additions and 133 deletions
|
|
@ -2245,8 +2245,8 @@ let
|
|||
}
|
||||
{
|
||||
# Create without update: the first value stored is the one every later
|
||||
# run reads, and no run replaces it. The two leaves are the stores'.
|
||||
name = "the store credential publisher's grant is create and read on the two stores' credentials and nothing else, and the PKI unit signs its leaf";
|
||||
# run reads, and no run replaces it. Two leaves are the stores', the third the exporter's.
|
||||
name = "the store credential publisher's grant is create and read on the two stores' and the queue exporter's credentials and nothing else, and the PKI unit signs its leaf";
|
||||
ok =
|
||||
let
|
||||
s = baoGrantHere.systemd.services.swarm-bao-store-auth-policy.script;
|
||||
|
|
@ -2262,7 +2262,12 @@ let
|
|||
"create"
|
||||
"read"
|
||||
]
|
||||
&& lib.length grants == 2
|
||||
&&
|
||||
(grantFor grants "secret/data/swarm/services/nats/exporter-auth").caps == [
|
||||
"create"
|
||||
"read"
|
||||
]
|
||||
&& lib.length grants == 3
|
||||
&& lib.hasInfix "auth/cert/certs/swarm-store-auth" s
|
||||
&& lib.hasInfix "allowed_common_names=swarm-store-auth" s
|
||||
&& lib.hasInfix "token_policies=swarm-store-auth" s
|
||||
|
|
|
|||
Loading…
Reference in a new issue