Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Clean up nits from verification certification rotation #1618

Merged
merged 2 commits into from
Jan 16, 2021

Conversation

sethvargo
Copy link
Member

@sethvargo sethvargo commented Jan 16, 2021

A few cleanup items from #1614:

  • Return proper response codes when enabling/disabling fails
  • Add tests for manual/automatic rotation
  • Move ListRealmsWithAutoKeyRotation() into a scope on ListRealms
  • Add pagination.UnlimitedResults
  • Remove testUser for auditing (use SystemTest instead)
  • Add comment on why Cloud Scheduler schedule is weird

Release Note

Clean up nits from verification certification rotation

- Return proper response codes when enabling/disabling fails
- Add tests for manual/automatic rotation
- Move ListRealmsWithAutoKeyRotation() into a scope on ListRealms
- Add `pagination.UnlimitedResults`
- Remove testUser for auditing (use SystemTest instead)
- Add comment on why Cloud Scheduler schedule is weird
@googlebot googlebot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Jan 16, 2021
@sethvargo
Copy link
Member Author

/assign @whaught
/assign @mikehelmick

@sethvargo
Copy link
Member Author

/retest

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sethvargo, whaught

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


{{else}}
<div class="alert alert-info">
<p><strong>Enable automatic key rotation</strong>.
It is possible to have the system automatically rotate your verification certificate signing key.
This is highly recommended, but requires that your key server is configured using the JWKS public key
discover doc.
discover doc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discovery (sorry - my typo)

@@ -48,6 +49,13 @@ type PageParams struct {
Limit uint64
}

// UnlimitedResults is a paginator that doesn't do pagination and returns all
// results (up to (1<<63)-1).
var UnlimitedResults = &PageParams{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks - that's why I wrote a custom method...

@mikehelmick
Copy link
Contributor

/retest

1 similar comment
@sethvargo
Copy link
Member Author

/retest

@google-oss-robot google-oss-robot merged commit db4f02b into main Jan 16, 2021
@google-oss-robot google-oss-robot deleted the sethvargo/cert_keys_cleanup branch January 16, 2021 18:05
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants