juju authorised-keys should have an authorized-keys alias

Bug #1312537 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
John A Meinel
1.18
Fix Released
High
John A Meinel

Bug Description

If you do "juju help authorised-keys" it actually mentions "juju authorized-keys" but that spelling isn't supported.
I don't care what the preferred spelling is but we should at least alias it so both localizations are happy.

Related branches

Revision history for this message
John A Meinel (jameinel) wrote :

We need to fix the docs, because it definitely mixes spellings a lot:

$ juju help authorised-keys
usage: juju authorised-keys [options] <command> ...
purpose: manage authorised ssh keys

options:
--description (= false)

-h, --help (= false)
    show help on a command or other topic

"juju authorized-keys" is used to manage the ssh keys allowed to log on to
     ^^^
nodes in the Juju environment.

commands:
    add - add new authorized ssh keys for a Juju user
 ^^^
    delete - delete authorized ssh keys for a Juju user
 ^^^
    help - show help on a command or other topic
    import - using ssh-import-id, import new authorized ssh keys for a Juju user
 ^^^
    list - list authorised ssh keys for a specified user

John A Meinel (jameinel)
Changed in juju-core:
milestone: none → 1.19.1
status: Triaged → In Progress
assignee: nobody → John A Meinel (jameinel)
Revision history for this message
John A Meinel (jameinel) wrote :

So unfortunately the value in ~/.juju/environments.yaml is "authorized-keys" but the command default is "juju authorised-keys" so I'm really not sure what spelling I should use.

Since we can't change config, I'm thinking to make everything default to "authorized-keys" but have "authorised-keys" as the alias.

Go Bot (go-bot)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.