Skip to content

Commit ec7508a

Browse files
committed
feat: update sso ssh key fields
1 parent 0d523cd commit ec7508a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh-cli/get-sso-enabled-ssh-keys.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# - https://github.blog/changelog/2021-11-09-expiration-dates-of-saml-authorized-pats-available-via-api/
66

77
# credential_type: personal access token, SSH key
8-
gh api --paginate /orgs/githubcustomers/credential-authorizations --jq='.[] | select(.credential_type == "SSH key") | "login: \(.login) expiration: \(.authorized_credential_expires_at) ID: \(.credential_id) note: \(.authorized_credential_note) type: \(.credential_type)"'
8+
gh api --paginate /orgs/githubcustomers/credential-authorizations --jq='.[] | select(.credential_type == "SSH key") | "login: \(.login) ID: \(.credential_id) title: \(.authorized_credential_title) type: \(.credential_type)"'

0 commit comments

Comments
 (0)