A token has policies. It usually gets those policies from roles in the auth backend but when you create a token from another, the original context (with the roles) is not available anymore.
Just specify the policies you want attached to your token:
Setting the TTL is optional, but a good practice for orphan tokens. The policies must be a subset of the policies of the current token, unless the current token is root.
Thanks for the response, @ixe013. The reason I’m using a role is because it has CIDR restrictions. I have tried vault token create -policy my-policy -token_bound_cidrs "192.168.1.0/24", but get the following error: flag provided but not defined: -token_bound_cidrs.
Is there a way to add CIDR restrictions without using a role?