After creating workspace in Oracle Cloud, I am creating data asset for the same. But when I try to create data asset it is showing me to add some policies to enable it. For example, Allow group <group-name> to read object-family in tenancy
Allow any-user to inspect compartments in tenancy where ALL {request.principal.type='disworkspace', request.principal.id='ocid1.disworkspace.oc1.ap-mumbai-1.anrg6ljr2ow634yag4c4j537cqz5n5sdsxunn7jjym67gm3z7hozt7sfkrhq'}
Allow any-user to read buckets in tenancy where ALL {request.principal.type = 'disworkspace', request.principal.id = 'ocid1.disworkspace.oc1.ap-mumbai-1.anrg6ljr2ow634yag4c4j537cqz5n5sdsxunn7jjym67gm3z7hozt7sfkrhq', request.operation = 'GetBucket'}
Allow any-user to manage objects in tenancy where ALL {request.principal.type = 'disworkspace', request.principal.id = 'ocid1.disworkspace.oc1.ap-mumbai-1.anrg6ljr2ow634yag4c4j537cqz5n5sdsxunn7jjym67gm3z7hozt7sfkrhq'}.
When I create above policies I receive an error message of '1:12LexerNoViableAltException('<'): token recognition error at: '<''. Even I added policy for created bucket like Allow any-user to use buckets in tenancy where ALL {request.principal.type='disworkspace'} ,Allow any-user to manage objects in tenancy where ALL {request.principal.type='disworkspace'} and Allow group 'Default'/'All Domain Users' to use object-family in tenancy.
As per Oracle documentation, I have created Secret in Oracle Cloud Infrastructure Vault to store connection password still getting same error messages.