Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cloud
charms
Federated Keystone
Commits
2985f925
Commit
2985f925
authored
Oct 26, 2018
by
Roberto di Lallo
Browse files
2018-10-27 AC: Add application_credentials in keystone.conf
parent
6b9c5f76
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/queens/keystone.conf
0 → 100644
View file @
2985f925
# ocata
###############################################################################
# [ WARNING ]
# Configuration file maintained by Juju. Local changes may be overwritten.
###############################################################################
[
DEFAULT
]
admin_token
= {{
token
}}
use_syslog
= {{
use_syslog
}}
log_config_append
= {{
log_config
}}
debug
= {{
debug
}}
public_endpoint
= {{
public_endpoint
}}
admin_endpoint
= {{
admin_endpoint
}}
[
database
]
{%
if
database_host
-%}
connection
= {{
database_type
}}://{{
database_user
}}:{{
database_password
}}@{{
database_host
}}/{{
database
}}{%
if
database_ssl_ca
%}?
ssl_ca
={{
database_ssl_ca
}}{%
if
database_ssl_cert
%}&
ssl_cert
={{
database_ssl_cert
}}&
ssl_key
={{
database_ssl_key
}}{%
endif
%}{%
endif
%}
{%
else
-%}
connection
=
sqlite
:////
var
/
lib
/
keystone
/
keystone
.
db
{%
endif
-%}
idle_timeout
=
200
[
identity
]
driver
= {{
identity_backend
}}
{%
if
default_domain_id
-%}
default_domain_id
= {{
default_domain_id
}}
{%
endif
-%}
{%
if
api_version
==
3
-%}
domain_specific_drivers_enabled
=
True
domain_config_dir
= {{
domain_config_dir
}}
{%
endif
-%}
[
credential
]
driver
=
sql
[
trust
]
driver
=
sql
[
os_inherit
]
[
catalog
]
driver
=
sql
[
endpoint_filter
]
[
token
]
driver
=
sql
{%
if
token_provider
==
'pki'
-%}
provider
=
keystone
.
token
.
providers
.
pki
.
Provider
{%
elif
token_provider
==
'pkiz'
-%}
provider
=
keystone
.
token
.
providers
.
pkiz
.
Provider
{%
else
-%}
provider
=
uuid
{%
endif
-%}
expiration
= {{
token_expiration
}}
{%
include
"parts/section-signing"
%}
{%
include
"section-oslo-cache"
%}
[
policy
]
driver
=
sql
[
assignment
]
driver
= {{
assignment_backend
}}
[
oauth1
]
[
auth
]
methods
=
external
,
password
,
token
,
oauth1
,
mapped
,
openid
,
totp
,
application_credential
{%
if
enable_oidc
%},
oidc
{%
endif
%}{%
if
enable_saml2
%},
saml2
{%
endif
%}
password
=
keystone
.
auth
.
plugins
.
password
.
Password
token
=
keystone
.
auth
.
plugins
.
token
.
Token
oauth1
=
keystone
.
auth
.
plugins
.
oauth1
.
OAuth
{%
if
enable_oidc
-%}
oidc
=
keystone
.
auth
.
plugins
.
mapped
.
Mapped
{%
endif
-%}
{%
if
enable_saml2
-%}
saml2
=
keystone
.
auth
.
plugins
.
mapped
.
Mapped
{%
endif
-%}
[
oidc
]
{%
if
enable_oidc
-%}
remote_id_attribute
=
HTTP_OIDC_ISS
{%
endif
-%}
[
saml2
]
{%
if
enable_saml2
-%}
remote_id_attribute
=
Shib
-
Identity
-
Provider
{%
endif
-%}
[
federation
]
{%
if
trusted_dashboard
-%}
trusted_dashboard
= {{
trusted_dashboard
}}
{%
endif
-%}
[
paste_deploy
]
config_file
= {{
paste_config_file
}}
[
extra_headers
]
Distribution
=
Ubuntu
[
ldap
]
{%
if
identity_backend
==
'ldap'
-%}
url
= {{
ldap_server
}}
user
= {{
ldap_user
}}
password
= {{
ldap_password
}}
suffix
= {{
ldap_suffix
}}
{%
if
ldap_config_flags
-%}
{%
for
key
,
value
in
ldap_config_flags
.
iteritems
() -%}
{{
key
}} = {{
value
}}
{%
endfor
-%}
{%
endif
-%}
{%
if
ldap_readonly
-%}
user_allow_create
=
False
user_allow_update
=
False
user_allow_delete
=
False
tenant_allow_create
=
False
tenant_allow_update
=
False
tenant_allow_delete
=
False
role_allow_create
=
False
role_allow_update
=
False
role_allow_delete
=
False
group_allow_create
=
False
group_allow_update
=
False
group_allow_delete
=
False
{%
endif
-%}
{%
endif
-%}
{%
if
api_version
==
3
-%}
[
resource
]
admin_project_domain_name
= {{
admin_domain_name
}}
admin_project_name
=
admin
{%
endif
-%}
{%
include
"parts/section-federation"
%}
{%
include
"section-oslo-middleware"
%}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment