Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

ServiceAccountCredentials cannot generate_signed_url in gcloud #448

Closed
@paulharter

Description

@paulharter

Hi,

gcloud/credentials/generate_signed_url still expects to find the private key in _private_key_pkcs8_pem but it has been wrapped by the signer now. I can set it myself as has been done in the classmethod constructors, but this seems the wrong place to be doing this. The default __init__ should be setting this not classmethods as others, like me, may not be using them.

Should the key really be in both_private_key_pkcs8_pem and signer? This looks fragile, and indeed has broken for me.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions