Use flag for key and token

Signed-off-by: chatgris <jboyer@af83.com>