From 3bb949b6c74d36fcbe793044c54b91619d365a00 Mon Sep 17 00:00:00 2001 From: Valery Kalashnikov <kalashnikov.valeri@gmail.com> Date: Tue, 28 Jun 2022 13:51:08 +0300 Subject: [PATCH] Add return DID policy --- .gitignore | 3 ++- example/returnDID/1.0/policy.rego | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 example/returnDID/1.0/policy.rego diff --git a/.gitignore b/.gitignore index 62c8935..68729d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.idea/ \ No newline at end of file +.idea/ +.DS_Store \ No newline at end of file diff --git a/example/returnDID/1.0/policy.rego b/example/returnDID/1.0/policy.rego new file mode 100644 index 0000000..20509cd --- /dev/null +++ b/example/returnDID/1.0/policy.rego @@ -0,0 +1,7 @@ +package example.returnDID + +_ = { + "@context": ["https://www.w3.org/ns/did/v1", "https://w3id.org/security/suites/ed25519-2020/v1"], + "id":"did:web:gaiax.vereign.com:policy:policy:example:returnDID:1.0:evaluation", + "verificationMethod": keys.getAll() +} \ No newline at end of file -- GitLab