Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQ60m-0000JI-Bz for pgsql-admin@arkaria.postgresql.org; Sat, 27 Mar 2021 10:17:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lQ60j-0005Jc-W2 for pgsql-admin@arkaria.postgresql.org; Sat, 27 Mar 2021 10:17:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQ60j-0005JL-Kp for pgsql-admin@lists.postgresql.org; Sat, 27 Mar 2021 10:17:41 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lQ60g-0005xg-Rf for pgsql-admin@postgresql.org; Sat, 27 Mar 2021 10:17:40 +0000 Received: by mail-ed1-x535.google.com with SMTP id bf3so9035943edb.6 for ; Sat, 27 Mar 2021 03:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=oEWipI477YuuH3WarI4yNXmgv7Rs63R5Ynqqgm04TSQ=; b=XwehYbAAuLwwVPbhpXuLYY6pF5IS7a9DCq4Yl7fW6W26KqNoGopTfIGZU3hxDWqBhl Wp0kIYo7ZFRteaIczc7dII9VLaaNVcRCYzUQ7qbA5BvvflHK6D/ZjpPrVF89ZxXW4fPa jSjMppLkm9fHtmqJXtQpvMOeFlLzZx5bBTBLxao0VCyCkUh4Bv1eloRyKHSC+l+ZdQo+ pNfRiioF4mZVNk0sPb+/BDdci6fsQm6dsbDIku2RMmUJdHfldxZD58l88MtQ9AhnGxdU yf4ehqnLA3sfGH3teEzm5/HcuyYb++/5/fUQoj52TMCEjWCcq/VC+hJeTuXprnUjLC71 +gsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=oEWipI477YuuH3WarI4yNXmgv7Rs63R5Ynqqgm04TSQ=; b=TbQAtYUxSwFy2G7xBrDmxmDItndgPP01+Zoaofshdz8MozTMMqUJnKoJmiK1F+FFvn u146wQNAFyAyG4kSPJHCjs1HY4H2Zm04lDOB1CxB3s9Hmix3x17b/5TddYEjhaZLlorG WpXFKpkuNfz4CeA5hiOvYMYoyZZn5fdejZvyunMXjJVzDkAfxbZJ/5fZALRIlSCl0jtG K3VijUheZipf14Vc8wqUsiqt1B2vz4oIFxikg3KOohLxakMHIzrP3o1n3HiLoTqxs2pP gBuWiseMXylzaVoZ/HIFRd9w9+7umLR1yDELrFjSkTz2XRvMkeOoMQBGxZcTUg/+ryq6 sgxQ== X-Gm-Message-State: AOAM530kIKGiW+GDoUqPkjCbJkQHHC831EmxsMWx8kv3EQ9NMjv7Q7/1 LPYlwBFolVkQkUUBDPE5s/ECOg== X-Google-Smtp-Source: ABdhPJwDpfeY5lVpcV0YDPxe9d7rOT21v8qvhJDwb3cfot3TLL8vf2LFP49CY8mHnYgxDCbzD8IjWQ== X-Received: by 2002:a05:6402:382:: with SMTP id o2mr20165276edv.238.1616840256893; Sat, 27 Mar 2021 03:17:36 -0700 (PDT) Received: from localhost.localdomain (62-46-255-104.adsl.highway.telekom.at. [62.46.255.104]) by smtp.gmail.com with ESMTPSA id a26sm5743474edm.15.2021.03.27.03.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Mar 2021 03:17:36 -0700 (PDT) Message-ID: Subject: Re: Password encryption in oracle_fdw extention From: Laurenz Albe To: Mukesh Rajpurohit , pgsql-admin@postgresql.org Date: Sat, 27 Mar 2021 11:17:32 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2021-03-26 at 22:46 +0530, Mukesh Rajpurohit wrote: > I want to use encrypted oracle password in oracle_ fdw extention to connect to oracle. > But seems this option is not available in oracle_fdw. I know we can use oracle wallet > but in that too we have to configure plain text oracle password which we do not want to do. > Please suggest if any other alternate. I don't think you can use encrypted passwords with Oracle. Can you point me to documentation if that is not true? Anyway, if you don't want a password in the user mapping, the way to go is external authentication. You could use the "secure" external password store, which stores the encrypted password in a wallet, or you could use SSL certificate authentication. To use an external authentication method with oracle_fdw, specify an empty user name. Also, watch out: I am not an expert with Oracle's licencing policies (that would be a full time job), but you may need to pay extra if you want good security. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com