Adobe Developers Live 2021, Session | Environment variables with AEM as a Cloud Service

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,383 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,383 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

22-01-2021

BlogImage.jpg

Session Details

Learn how to manage environment variables with AEM as a Cloud Service and use them in the context of a build process or OSGI configuration variables.

Session Recording

Session Schedule

9-Feb, 11:45 AM - 12:15 PM PST

Speaker(s)

Shankari Panchapakesan & Raul Hudea

Full Schedule

Check Here

Q&A

Please use this thread to ask the question related to this Session.

Session FAQs

Q. Can you use the json format and environment variables for osgi configs also in on-premise or AMS AEM's 

A. the variable interpolation works with any configuration serialization -- properties, json, sling:OsgiConfig nodes | there is a way to use this with the AEM as a Cloud Service SDK 

Q. Can I set multiple variables at once? 

A. yes multiple variables can be set using the CLI tool all at one time 

Q. Are the secrets / configs added to the store version? Or overwritten? 

A. The latest version will be used 

Q. Variables are set and stored, for any update they need to be deleted prior a release? 

A. correct, no delete needed 

Q. Is this functionality available only in AEM Cloud Services? How about AEM 6.5 with CM? 

A. pipeline variables are available with AEM 6.5 with CM 

Q. Can but they are set for author and publish? 

A. It has to be set at the environment level | depending on what you want to do you can set variables like AUTHOR_PASSWORD and PUBLISH_PASSWORD 

Q. where can I get AEM AIO CLI? 

A. here is the plugin: https://github.com/adobe/aio-cli-plugin-cloudmanager 

Q. does aio come default with cloud manager? or it needs separate license 

A. Chandu Thimmareddy  aio is the standard way to interact with AEM as a Cloud Service | no additional license needed 

Q. Can we change Environment variable at run time, when AEM is running ? like a token or password 

A. Yes, but it is not instant. It takes a little time to be applied (the environment will be in updating state while variables are being updated in AEM) 

Q. Can we set environment variables prior to code deploy? 

A. Yes, as long as the environment is in Running state. 

Q. "secret"-variables means what in detail regarding security? 

A. Secrets are stored encrypted at rest 

Q. For OSGi configs can we use Secret Storage solutions like Azure Key Vault as well ? 

A. No.  

Q. But how to set passwords and tokens for Local AEM sdk, as its not connected to cloud manager? 

A. The org.apache.felix.configadmin.plugin.interpolation.secretsdir needs to be set. More details can be found at https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/deploying/conf...

Q. AEM Cloud SDK? did you mean AEM as a Cloud Service SDK? 

A. AEM as a Cloud Service SDK 

Don't forget to register yourself for this session using the registration link shared above. 

Replies

Avatar

Avatar
Give Back
Level 1
sndc18
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile

Avatar
Give Back
Level 1
sndc18
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile
sndc18
Level 1

15-03-2021

@kautuk_sahni  - I coundnt find video attached here, Can you pls upload video ?

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,383 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,383 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

15-03-2021

Let me check this internally and get back to you.

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,383 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,198 likes

Total Posts

6,383 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

24-03-2021

@sndc18 , Recording is added to this thread.

HTH

Avatar

Avatar
Give Back
Level 1
sndc18
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile

Avatar
Give Back
Level 1
sndc18
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile
sndc18
Level 1

24-03-2021

Thanks kautuk.