You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by "Shinsuke Sugaya (JIRA)" <ji...@apache.org> on 2017/02/17 08:16:41 UTC

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

Shinsuke Sugaya created PIO-54:
----------------------------------

             Summary: 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)