very stupid nube

42 views
Skip to first unread message

Anthony Gartner

unread,
Oct 14, 2025, 5:33:24 PM (6 days ago) Oct 14
to BBEdit Talk
I am not even sure what to call it.... but what i would like to do is create a file with a list of specific items for a company... 

Then i fill in a cheat sheet to create a 3rd file that i can use to copy into my fireall.

So the first file would have a list of probably 20 fields Example Below.  Bold entries would be used in a new file created (3rd file) Maybe
****************

******************** Cheat Sheet 
config system global
set auth-ike-saml-port 12443
end

config user setting
set auth-cert "Fortinet_Factory"
end

config user saml
    edit "entra-id-saml"
        set cert "Fortinet_Factory"
        set entity-id "https://vpn.construction.com:12443/remote/saml/metadata/"
        set single-sign-on-url "https://vpn.construction.com:12443/remote/saml/login"
        set single-logout-url "https://vpn.construction.com:12443/remote/saml/logout"
        set idp-entity-id "https://sts.windows.net/8egfgggc1-1715-4550-8814-38faae013a96/"
        set idp-single-sign-on-url "https://login.microsoftonline.com/8asdfe6c1-1715-4550-8814-38faae013a96/saml2"
        set idp-single-logout-url "https://login.microsoftonline.com/8asdfe6c1-1715-4550-8814-38faae013a96/saml2"
        set idp-cert "REMOTE_Cert_2"
        set user-name "name"
        set group-name "groups"
        set digest-method sha1
    next
end
********** 3rd file
would be the result of using the the first set of fields to be exported to create the company specific results to be pasted into the firewall.


Any help on where or what i am looking for would be appreciated.  I am not knowledgeable enough to know what i am even asking.

Anthony

Johnny Ragadoo

unread,
Oct 15, 2025, 1:05:02 PM (5 days ago) Oct 15
to BBEdit Talk
If I understand your usage, it looks like your source file could be a csv file. Your second file could be the result of a mail merge in a word processor, saved as plain text, and I'm not sure what form your 3rd file would need to be.

BBEdit could do all that, I think. There may be other tools that would apply, too. 

Reply all
Reply to author
Forward
0 new messages