Skip to content

proposal: x/crypto/acme: add RetryAfter field to Authorization object returned by GetAuthorization #74454

Open
golang/crypto
#321
@ThatsMrTalbot

Description

@ThatsMrTalbot

Proposal Details

When using WaitAuthorization is not practical due to its blocking, for example in Kubernetes controllers, the GetAuthorization method can be used. By adding a RetryAfter field to the Authorization object returned by GetAuthorization these implementations can use their own polling mechanism while still respecting the value sent back by the ACME server.

The WaitAuthorization method will never need set this new field, since it does not return while the challenges are still pending.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions