klarna / bec

The BitBucket Erlang Client
Apache License 2.0
47 stars 12 forks source link

access-keys does not accept an empty list #31

Closed TCampmany closed 3 years ago

TCampmany commented 3 years ago

First-level property access-keys does not accept an empty list (to remove all access).

TCampmany commented 3 years ago

It accepts "[]" as an empty list.

My final solution was: access-keys: [ {{#key_1}}{permission: REPO_READ, text: ssh-rsa aaa...zzz user@sesrver},{{/key_1}} {{#key_2}}{permission: REPO_READ, text: ssh-rsa aaa...zzz user@sesrver},{{/key_2}} ]