Working with two yamls and sharing data

Hi ,

I am test engineer and have a small issue. if someone can help that is
greatly appreciated.

I have two below yaml files. I want to import first file into second and
do anchoring. want to hide actual data instead of putting all hashes
into one.

please help.

ONE FILE:

Common Login Data : &login # Anchoring using & and put name as login.
:username: adwallet09
:password: abcd12345

Page Elements: &CommonElements # Anchoring using & and put name as
CommonElements.
:cc_notification_txt1: You’ll get notified every time
:cc_notification_txt2: your card is used.
:help_with_sign_in_txt: Help With Sign–In

SECOND FILE

Login with Bank account:
:bal: 1000
<<: *login # Calling login data in this scenario
<<: *CommonElements # Calling ‘Page Elements’ data in this scenario