https://support.atlassian.com/bitbucket-cloud/docs/integrate-pipelines-with-resource-servers-using-oidc/
Integrate Pipelines with resource servers using OIDC | Bitbucket Cloud | Atlassian Support
Use Bitbucket Pipelines OpenID Connect Provider (OIDC IDP) to allow your pipelines to access your resource server
resource serversbitbucket cloudatlassian supportintegratepipelines