-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy pathmanifest.yml
72 lines (54 loc) · 3.94 KB
/
manifest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
applications:
- name: authcode-client-credentials-sample
memory: 1G
instances: 1
path: build/libs/authcode-client-credentials.jar
services:
- p-identity-instance # Make sure you have created an sso service instance with this name. Your app will be bound to this service instance you list here when it is pushed.
env:
# *** BEGIN: env vars for the application ***
# The location of the deployed resource server sample application
RESOURCE_URL: https://resource-server-sample.<your-domain>.com
# The scopes requested when obtaining a user access token using the authcode client by Spring Security 5
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_SSOAUTHORIZATIONCODE_SCOPE: openid, profile, roles, user_attributes, todo.read, todo.write
# The scopes requested when obtaining a application access token using the client credentials client by Spring Security 5
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_SSOCLIENTCREDENTIALS_SCOPE: todo.read, todo.write
# This can be used in conjunction with the cloudfoundry-certificate-truster library to skip all cert checks for
# development environments which use self-signed certs.
# DO NOT USE THIS IN PRODUCTION!!!
# TRUST_CERTS: login.sfo.identity.team
# *** END: env vars for the application ***
# *** BEGIN: env vars for the service broker to use during bind ***
# The following are bootstrap configurations you may use to automatically create client configurations in
# the SSO service for your application if the configurations do not exist. These configurations take effect
# when binding or rebinding to the SSO, and will overwrite existing client configurations if any.
# The values provided below are examples.
# Grant type to be set for the application's UAA client configurations.
GRANT_TYPE: authorization_code, client_credentials
# Identity provider(s) to be set for the application's client configurations. This value represents the allowed identity providers for the app through the SSO service plan.
SSO_IDENTITY_PROVIDERS: uaa
# The following are bootstrap configurations you may use to automatically create client configurations in the SSO service for your application if the configurations do not exist. These configurations take effect when binding or rebinding to the SSO, and will overwrite existing client configurations if any. The values provided below are examples.
# Whitelist of redirect URI(s) allowed for the application. This value must start with http:// or https://
# SSO_REDIRECT_URIS: https://my-domain-here.domain.org
# Client scope(s) for the application, not used for client credentials grant type
SSO_SCOPES: openid, profile, roles, user_attributes, todo.read, todo.write
# Client scope(s) for the application that are automatically authorized when acting on behalf of a user
# SSO_AUTO_APPROVED_SCOPES: openid, todo.read
# Client authorities for the application, only used for client credentials grant type
SSO_AUTHORITIES: uaa.resource, todo.read, todo.write
# List of groups a user must have in order to authenticate successfully for the application
# SSO_REQUIRED_USER_GROUPS: my_group_here
# Lifetime in seconds of the application's access token
# SSO_ACCESS_TOKEN_LIFETIME: 300
# Lifetime in seconds of the application's refresh token
# SSO_REFRESH_TOKEN_LIFETIME: 1800
# Resource(s) that the application will use as scopes/authorities to be created if they do not already exist during bootstrapping
SSO_RESOURCES: |
todo.read: Read Objects
todo.write: Write Objects
# Application icon with the application name and launch URL that will be displayed on the Pivotal Account dashboard if configured to show
# SSO_ICON: <base64 encoded image - do not exceed 64kb>
# SSO_LAUNCH_URL: <url>
# SSO_SHOW_ON_HOME_PAGE: <true/false>
# *** END: env vars for the service broker to use during bind ***