Fix run function
This commit is contained in:
parent
1d85bcb871
commit
fa896264bf
|
@ -37,8 +37,9 @@ MIT
|
|||
7. Create Pillar sls files where required with the content, replace the group UUID. Look into the example directory. Hint: you can find the Group UUID with the network tool of the browser by clicking on a group.
|
||||
```
|
||||
#!py
|
||||
from salt_passbolt import fetch_passbolt_passwords
|
||||
fetch_passbolt_passwords("27b9abd4-af9b-4c9e-9af1-cf8cb963680c")
|
||||
def run():
|
||||
from salt_passbolt import fetch_passbolt_passwords
|
||||
return fetch_passbolt_passwords("27b9abd4-af9b-4c9e-9af1-cf8cb963680c")
|
||||
```
|
||||
|
||||
8. In state, reference secrets with their UUID. See the `example/salt/important_secrets/files/secret.conf`. Hint: you can find the secret UUID in the URL of your browser by clicking on the checkbox of a secret.
|
||||
|
|
Loading…
Reference in New Issue