Hi @nmejane and welcome to the community. I think this thread has similarities to what you are looking for. The definition is there is for a policy but it can also be used for a key.
However, I don’t think the field based access rights or restricted types fits your intended use case.