Skip to content

Commit

Permalink
fix: documentation correction mentioned in the issue (#2732) (#2773)
Browse files Browse the repository at this point in the history
Closes #2732
  • Loading branch information
masoudtahmasebi93 committed Oct 1, 2021
1 parent f701310 commit ea7a20c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cmd/keys_import.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
func NewKeysImportCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "import <set> <file-1> [<file-2> [<file-3 [<...>]]]",
Short: "Imports cryptographic keys of any format to the JSON Web Key Store",
Long: `This command allows you to import cryptographic keys to the JSON Web Key Store.
Short: "Imports OAuth 2.0 Clients from one or more JSON files to the JSON Web Key Store",
Long: `This command allows you to import OAuth 2.0 Clients from one or more JSON files to the JSON Web Key Store.
Currently supported formats are raw JSON Web Keys or PEM/DER encoded data. If the JSON Web Key Set exists already,
the imported keys will be added to that set. Otherwise, a new set will be created.
Expand Down
6 changes: 3 additions & 3 deletions docs/versioned_docs/version-v1.10/cli/hydra-clients-import.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: hydra-clients-import
title: hydra clients import
description:
hydra clients import Imports cryptographic keys of any format to the JSON Web
hydra clients import Imports OAuth 2.0 Clients from one or more JSON files of any format to the JSON Web
Key Store
---

Expand All @@ -14,11 +14,11 @@ To improve this file please make your change against the appropriate "./cmd/*.go

## hydra clients import

Imports cryptographic keys of any format to the JSON Web Key Store
Imports OAuth 2.0 Clients from one or more JSON files to the JSON Web Key Store

### Synopsis

This command allows you to import cryptographic keys to the JSON Web Key Store.
This command allows you to import OAuth 2.0 Clients from one or more JSON files to the JSON Web Key Store.

Currently supported formats are raw JSON Web Keys or PEM/DER encoded data. If
the JSON Web Key Set exists already, the imported keys will be added to that
Expand Down

0 comments on commit ea7a20c

Please sign in to comment.