While this is working fine for a setup where the vault is present in the same tenant as the instance, seeing this issue when trying to utilise OCI cross tenant policy. Instance is present in tenant A, and Vault in tenant B. The tenant B has access to list instances in tenant A, ensured this through cli as well.
Could this be happening because vault is unable to use crosstenancy access? Or is there any other issue that could be present?
WHile trying to login to Hashicorp Vault using OCI auth method, getting the following response:
vault login -address=vault_addr -method=oci -path=oci auth_type=instance role=role Error authenticating: Error making API request.
URL: PUT https://vault_addr/v1/auth/oci/login/role Code: 401. Raw Message:
While this is working fine for a setup where the vault is present in the same tenant as the instance, seeing this issue when trying to utilise OCI cross tenant policy. Instance is present in tenant A, and Vault in tenant B. The tenant B has access to list instances in tenant A, ensured this through cli as well.
Could this be happening because vault is unable to use crosstenancy access? Or is there any other issue that could be present?