You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by "Donald Szeto (JIRA)" <ji...@apache.org> on 2017/02/26 07:10:44 UTC

[jira] [Resolved] (PIO-54) Avoid access key started with -

     [ https://issues.apache.org/jira/browse/PIO-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Szeto resolved PIO-54.
-----------------------------
    Resolution: Fixed

> Avoid access key started with -
> -------------------------------
>
>                 Key: PIO-54
>                 URL: https://issues.apache.org/jira/browse/PIO-54
>             Project: PredictionIO
>          Issue Type: Improvement
>            Reporter: Shinsuke Sugaya
>            Priority: Minor
>
> Access key is generated by SecureRandom.
> If a key starts with -, it's difficult to use it as a command line argument.
> (I could not use it on data/import_eventserver.py...)
> {code}
> $ pio app list
> [INFO] [Pio$]                 Name |   ID |                                                       Access Key | Allowed Event(s)
> [INFO] [Pio$]               MyApp1 |    1 | -vlfOdrcYDx1ZUXROcpSOQJDyTtrMMGkSEzyeHUSmGpmaP8s-GJoQl_Mm1YEQeGU | (all)
> [INFO] [Pio$] Finished listing 1 app(s).
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)