Skip to content

Instantly share code, notes, and snippets.

@tiewei

tiewei/uaa.conf Secret

Last active December 21, 2015 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tiewei/9eb03cce2a2c9a6c08ef to your computer and use it in GitHub Desktop.
Save tiewei/9eb03cce2a2c9a6c08ef to your computer and use it in GitHub Desktop.
name: uaa
database:
url: jdbc:postgresql://192.168.100.58:2544/uaa
username: uaa
password: "mypasswordofpostgres"
spring_profiles: postgresql
logging:
config: /var/vcap/jobs/uaa/config/log4j.properties
jwt:
token:
signing-key: |
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAqoOd5DlCfDI6/9It/Kvff1YO2vpF+Nxz0KpHEC71zQa7aseh
mSP7tF4asluyRr6PbUcSe3vWM9c7c76zVQTuC15d5ukU/NcH04iYd7Lul1InqlJg
ApZrIx891FGhutxtnDcTK6J+/S5bUJTp1nSiTnVdGbmswYtjhQI/PYvIFKYYuy8U
s8OuE++Ta12CbZ6D8XL1wSxRbJ9FW8jxKqsu+2+pXTRk3nlKg8nDDntlYZ46RxU7
rE0BzOXm6z0IXnuyv+uNVJd71yHcQ7i40cxIUB2vYd+b4NETONkejPmubwhMJbwR
UNIY6gw9XcwSocIZL1j/UpuKYsBbov+HNKNU3QIDAQABAoIBABXQ6yWlEdWUE6ph
eNLIJrtDBnmL5eH2Srca4ia262oE/3uk+Q7/5JdqJt5FDyUwAmfH3RyBdqGBWzDu
6EDrdY1s0HTXw4Cp/m1ZH7DI6u/fagXHrlMGbcS7nYyJuTiQNVH0VfaSPs8j3DkO
JHD00UNajsPY1rqYm+4LoI2+UaYaeJdA2oPDEGNGk61e3Pbrg6kNt/4yEtQrbfvW
u62JL5qHHsQCPvFWU1c2zXmcp+4+g2HjaI/hsWOtTJLeLbv2avJZqJJKNw1alh72
lpFTtOJaH7QkqHAaoQvL3lt9AA9DFDkuzGhcq1J4BE/PsDL/SZEJstuuMNYhPOoz
i+ia9R0CgY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jHz3UUaG63G2cNxMron79LltQlOnWdKJOdV0ZuazBi2OFAj89i8gUphi7LxSzw64T75NrXYJtnoPxcvXBLFFsn0VbyPEqqy77b6ldNGTeeUqDycMOe2VhnjpHFTusTQHM5ebrPQhee7K/641Ul3vXIdxDuLjRzEhQHa9h35vg0RM42R6M+a5vCEwlvBFQ0hjqDD1dzBKhwhkvWP9Sm4piwFui/4c0o1Td vap@ubuntu
issuer.uri: https://uaa.vcap.com
oauth:
client:
autoapprove:
- cf
- login
clients:
login:
id: login
secret: LOGIN_TOKEN_SECRET
scope: openid
authorities: oauth.login
authorized-grant-types: authorization_code,client_credentials,refresh_token
redirect-uri: http://login.vcap.com
cf:
id: cf
override: true
authorized-grant-types: password,implicit,refresh_token
authorities: uaa.none
scope: cloud_controller.read,cloud_controller.write,openid,password.write,cloud_controller.admin,scim.read,scim.write
access-token-validity: 7200
refresh-token-validity: 1209600
admin:
authorized-grant-types: client_credentials
authorities: clients.read,clients.write,clients.secret,uaa.admin
id: admin
secret:
cloud_controller:
authorized-grant-types: client_credentials
authorities: scim.read,scim.write,password.write
id: cloud_controller
secret:
access-token-validity: 604800
vmc:
authorized-grant-types: implicit
scope: cloud_controller.read,cloud_controller.write,openid,password.write
authorities: uaa.none
id: vmc
redirect-uri: http://uaa.cloudfoundry.com/redirect/vmc,https://uaa.cloudfoundry.com/redirect/vmc
access-token-validity: 604800
scim:
userids_enabled: true
user.override: true
users:
- admin|c1oudc0w|scim.write,scim.read,openid,cloud_controller.admin
- services|c1oudc0w|scim.write,scim.read,openid,cloud_controller.admin
require_https: false
dump_requests: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment