Unable to access MAAS

I have the root token and I haven’t disabled it yet. But when I use it in “vault login” command, it says permission denied.
Except for vault status every vault cli command is giving permission denied.

This is the documentation we followed to integrate maas with vault : How to use Vault to protect your MAAS secrets

Policy file:

path "secret/metadata/maas/" {
        capabilities = ["list"]
}
 
path "secret/metadata/maas/*" {
        capabilities = ["read", "update", "delete", "list"]
}
 
path "secret/data/maas/*" {
        capabilities = ["read", "create", "update", "delete"]
}

The role of maas application is admin.

I have one more query, if I remove this vault, start everything from scratch and try to integrate again with maas, what all will be affected?