---
title: "Creating keystone_admin File"
canonical: "https://docs.infoblox.com/space/ipamdriverosneutron/53056244/Creating%20keystone_admin%20File"
format: markdown
---
To run the script that configures the integration, you must create a `keystone_admin` file if you don't have one already, and then source it so that you have the admin credential variables available in the shell environment.

> ⚠️ **Note**
> ⚠️ 
> ⚠️ `networking-infoblox` should be successfully configured before running the migration script.

Run the following script to set the environment variables:  
`$ cat keystone_admin`  
`unset OS_SERVICE_TOKEN`  
`export OS_USERNAME=admin`  
`export OS_PASSWORD=admin`  
`export OS_AUTH_URL=``http://10.39.12.161:5000/v2.0`  
`export PS1='[\u@\h \W(keystone_admin)]\$ '`

`export OS_TENANT_NAME=admin`  
`export OS_REGION_NAME=RegionOne`

For keystone behind TLS:  
`$ cat keystone_admin`  
`unset OS_SERVICE_TOKEN`  
`export OS_USERNAME=admin`  
`export OS_PASSWORD=mysecret`  
`export OS_AUTH_URL=``https://controller:5000/v3`  
`export PS1='[\u@\h \W(keystone_admin)]\$ '`

`export OS_TENANT_NAME=admin`  
`export OS_PROJECT_NAME=admin`  
`export OS_REGION_NAME=RegionOne`  
`export OS_PROJECT_DOMAIN_ID=default`  
`export OS_USER_DOMAIN_ID=default`  
`export OS_DOMAIN_ID=default`  
`export SERVICE_ENDPOINT=``https://controller:5000/v3`  
`export OS_IDENTITY_API_VERSION=3`  
`export OS_CACERT=/etc/ssl/certs/apache-selfsigned.crt`  
`export OS_INSECURE=False`  
`export OS_KEY=<key>`  
`export OS_CERT=<cert>`

`$ source keystone_admin`