it should works but it is not safe to use admin_token. Because * It is a admin token which has the full privilege for the keystone service * The token will be always valid till the admin_token in the conf file is changed. It is dangerous when the token leak.
Suggest that the admin_token is only used for the initial of admin account. On Thu, Oct 9, 2014 at 2:29 PM, Nader Lahouti <nader.laho...@gmail.com> wrote: > Hi, > > Is it acceptable to use 'admin_token' option from keystone.conf, when > creating a keystone client? something like this: > > kc = client.Client(token=cfg.CONF.admin_token, > > endpoint='http://localhost:35357/v2.0/') > > > > > Thanks, > > Nader. > > > > _______________________________________________ > OpenStack-dev mailing list > OpenStackemail@example.com > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- Lei Zhang Blog: http://xcodest.me twitter/weibo: @jeffrey4l _______________________________________________ OpenStack-dev mailing list OpenStackfirstname.lastname@example.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev